1
0
ohmyform/ecosystem.json

48 lines
1.4 KiB
JSON
Raw Normal View History

2016-05-20 13:09:17 -07:00
{
"apps" : [{
2016-05-20 14:11:37 -07:00
"name" : "tellform",
2016-05-20 14:25:02 -07:00
"script" : "server.js",
2016-05-20 14:13:35 -07:00
"instances": "max",
"exec_mode": "cluster",
"max_memory_restart" : "200M"
2016-05-20 13:28:27 -07:00
}],
2016-05-20 13:09:17 -07:00
"deploy" : {
"stage" : {
"user" : "polydaic",
"host" : "159.203.42.158",
"ref" : "origin/stage",
"repo" : "git@github.com:whitef0x0/tellform.git",
"path" : "/opt/deploy",
2016-05-20 13:28:27 -07:00
"post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
2016-05-20 13:09:17 -07:00
"env" : {
"NODE_ENV": "production",
"BASE_URL": "stage.tellform.com"
}
},
"prod" : {
"user" : "polydaic",
"host" : "159.203.33.182",
"ref" : "origin/master",
"repo" : "git@github.com:whitef0x0/tellform.git",
"path" : "/opt/deploy",
2016-05-20 15:08:59 -07:00
"post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
2016-05-20 13:09:17 -07:00
"env" : {
"NODE_ENV": "production",
"BASE_URL": "admin.tellform.com"
}
},
"kmc" : {
"user" : "polydaic",
"host" : "159.203.2.71",
"ref" : "origin/master",
"repo" : "git@github.com:whitef0x0/tellform.git",
"path" : "/opt/deploy",
"post-deploy" : "npm install && bower install && pm2 startOrRestart ecosystem.json --env production",
"env" : {
"NODE_ENV": "production",
"BASE_URL": "kmc.tellform.com"
}
}
}
}