35 lines
977 B
JSON
35 lines
977 B
JSON
{
|
|
"apps" : [{
|
|
"name" : "tellform",
|
|
"script" : "server.js",
|
|
"instances": "max",
|
|
"exec_mode": "cluster",
|
|
"max_memory_restart" : "200M"
|
|
}],
|
|
"deploy" : {
|
|
"stage" : {
|
|
"user" : "polydaic",
|
|
"host" : "159.203.42.158",
|
|
"ref" : "origin/stage",
|
|
"repo" : "git@github.com:whitef0x0/tellform.git",
|
|
"path" : "/opt/deploy",
|
|
"post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
|
|
"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",
|
|
"post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
|
|
"env" : {
|
|
"NODE_ENV": "production",
|
|
"BASE_URL": "admin.tellform.com"
|
|
}
|
|
}
|
|
}
|