#sudc-system
Holds the container definitions and system topolgy. Generated and managed by nscale.
##overview The following files are used by nscale for system management.
###system.js
exports.name = 'nscaledemo';
exports.namespace = 'nscaledemo';
exports.id = 'e1144711-47bb-5931-9117-94f01dd20f6f';
exports.topology = {
local: {
root: ['web']
}
};
Defines the system namespace, name and id. Also defines a simple topology for local deployment.
###definitions/services.js
exports.root = {
type: 'container'
};
exports.web = {
type: 'process',
specific: {
repositoryUrl: 'git@github.com:nearform/nscaledemoweb.git',
execute: {
args: '-p 8000:8000 -d',
exec: '/usr/bin/node index.js'
}
}
};
Deines a root conainer and a web container to hold the hello world application.
###map.js
exports.types = {
local: {}
};
exports.ids = {
local: {
root: { id: '85d99b2c-06d0-5485-9501-4d4ed429799c' },
web: {name: 'web'},
}
};
Holds minimal id and name mapping for the web service container.
###generated files The following files are generated and managed by nscale
- system.json - compiled system definition, build from system.js and related files
- deployed.json - holds the currently deployed revision of the system
- timeline.json - holds deployment event information