forked from tellform/tellform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.json
34 lines (34 loc) · 977 Bytes
/
ecosystem.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"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" : "[email protected]: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" : "[email protected]: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"
}
}
}