updated pm2 ecosystem.json
This commit is contained in:
parent
8a12f4d65c
commit
4f4bba16d3
|
@ -7,28 +7,29 @@
|
||||||
"max_memory_restart" : "200M"
|
"max_memory_restart" : "200M"
|
||||||
}],
|
}],
|
||||||
"deploy" : {
|
"deploy" : {
|
||||||
"stage" : {
|
"stage": {
|
||||||
"user" : "polydaic",
|
"user": "polydaic",
|
||||||
"host" : "159.203.42.158",
|
"host": "159.203.42.158",
|
||||||
"ref" : "origin/stage",
|
"ref": "origin/stage",
|
||||||
"repo" : "git@github.com:whitef0x0/tellform.git",
|
"repo": "git@github.com:whitef0x0/tellform.git",
|
||||||
"path" : "/opt/deploy",
|
"path": "/opt/deploy",
|
||||||
"post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
|
"post-deploy": "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
|
||||||
"env" : {
|
"env": {
|
||||||
"NODE_ENV": "production",
|
"NODE_ENV": "production",
|
||||||
"BASE_URL": "stage.tellform.com"
|
"BASE_URL": "stage.tellform.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prod" : {
|
"prod": {
|
||||||
"user" : "polydaic",
|
"user": "polydaic",
|
||||||
"host" : "159.203.33.182",
|
"host": "159.203.33.182",
|
||||||
"ref" : "origin/master",
|
"ref": "origin/master",
|
||||||
"repo" : "git@github.com:whitef0x0/tellform.git",
|
"repo": "git@github.com:whitef0x0/tellform.git",
|
||||||
"path" : "/opt/deploy",
|
"path": "/opt/deploy",
|
||||||
"post-deploy" : "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
|
"post-deploy": "npm install && pm2 startOrGracefulReload ecosystem.json --env production",
|
||||||
"env" : {
|
"env": {
|
||||||
"NODE_ENV": "production",
|
"NODE_ENV": "production",
|
||||||
"BASE_URL": "admin.tellform.com"
|
"BASE_URL": "admin.tellform.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue