stack-deploy
v0.0.1
Published
automated deployment to multiple hosting providers
Downloads
3
Readme
node-network-deploy
A nifty module to set up a huge network of node servers
Example
var deploy = require('node-network-deploy')
var network = {
"application-balancer": {
"A": {
"provider": "joyent",
"username": "node",
"branch": "master",
"path": "repo",
"port": 80,
"private": "192.168.1.1",
"public": "55.55.55.54"
}
},
"application": {
"A": {
"provider": "joyent",
"username": "node",
"branch": "master",
"path": "repo",
"balance": "192.168.1.7",
"port": 80,
"private": "192.168.1.7",
"public": "55.55.55.53"
},
"B": {
"provider": "joyent",
"username": "node",
"branch": "master",
"path": "repo",
"balance": "192.168.1.6",
"port": 80,
"private": "192.168.1.6",
"public": "55.55.55.52"
},
"C": {
"balance": "192.168.1.5",
"port": 80,
"private": "192.168.1.5",
"public": "55.55.55.51"
}
}
}
deploy({
network: network,
provider: 'joyent', // default
username: 'node', // default
branch: 'master', // default
path: 'repo', // default
port: 80 // default
})