-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.json
43 lines (42 loc) · 1.14 KB
/
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
35
36
37
38
39
40
41
42
43
/*
This file defines the configuration for managing sitecues Kvetch as a
service with PM2.
*/
{
/*
Application settings.
http://pm2.keymetrics.io/docs/usage/application-declaration/
*/
"apps" : [
/*
Kvetch, the client implementation validator.
*/
{
"name" : "sitecues-kvetch",
"script" : "bin/kvetch-server.js",
"exec_mode" : "cluster",
"instances" : 2,
"max_memory_restart" : "120M",
"env" : {
"PORT" : "3000"
}
},
],
/*
Deployment settings.
http://pm2.keymetrics.io/docs/usage/deployment/
*/
"deploy" : {
"production" : {
"user" : "autouser",
"host" : "tools.qa.sitecues.com",
"repo" : "[email protected]:ai_squared/sitecues-kvetch.git",
"ref" : "origin/master",
"path" : "/srv/sitecues-kvetch",
"post-deploy" : "npm install && pm2 startOrReload ecosystem.json production",
"env" : {
"NODE_ENV": "production"
}
}
}
}