-
Notifications
You must be signed in to change notification settings - Fork 2
/
pm2.preproduction.json
41 lines (41 loc) · 1.12 KB
/
pm2.preproduction.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
{
"apps": [{
"name": "Server instance @8095",
"exec_interpreter": "node",
"script": "./public/assets/app.server.js",
"cwd": ".",
"args": ["--prod", "--port=8095", "--serve-static"],
"watch": false,
"log_date_format": "YYYY/MM/DD HH:mm Z",
"node_args": ["--harmony"],
"error_file": "runtime/logs/stderr.log",
"out_file": "runtime/logs/stdout.log",
"instances": 1,
"exec_mode": "fork_mode",
"max_memory_restart": "2048M",
"autorestart": true,
"merge_logs": true,
"env": {
"NODE_ENV": "production"
}
}, {
"name": "Server instance @8096",
"exec_interpreter": "node",
"script": "./public/assets/app.server.js",
"cwd": ".",
"args": ["--prod", "--port=8096", "--serve-static"],
"watch": false,
"log_date_format": "YYYY/MM/DD HH:mm Z",
"node_args": ["--harmony"],
"error_file": "runtime/logs/stderr.log",
"out_file": "runtime/logs/stdout.log",
"instances": 1,
"exec_mode": "fork_mode",
"max_memory_restart": "2048M",
"autorestart": true,
"merge_logs": true,
"env": {
"NODE_ENV": "production"
}
}]
}