-
Notifications
You must be signed in to change notification settings - Fork 1
/
pm2_deploy_prod.json
34 lines (34 loc) · 941 Bytes
/
pm2_deploy_prod.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": "server-prod-4001",
"script": "Server/bin/www.js",
"instances": 1,
"exec_mode": "fork",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "/data/logs/server-prod-4001-error.log",
"out_file": "/data/logs/server-prod-4001-out.log",
"log_file": "/data/logs/server-prod-4001-all.log",
"combine_logs": true,
"env": {
"PORT": 4001,
"CONFIG_SUFFIX": "prod",
}
},
{
"name": "server-prod-4002",
"script": "Server/bin/www.js",
"instances": 1,
"exec_mode": "fork",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "/data/logs/server-prod-4001-error.log",
"out_file": "/data/logs/server-prod-4001-out.log",
"log_file": "/data/logs/server-prod-4001-all.log",
"combine_logs": true,
"env": {
"PORT": 4002,
"CONFIG_SUFFIX": "prod",
}
},
]
}