-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpm2.json
More file actions
33 lines (33 loc) · 740 Bytes
/
pm2.json
File metadata and controls
33 lines (33 loc) · 740 Bytes
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
{
"apps":
{
"name": "ThinkTs",
"cwd": "./",
"script": "build/index.js",
"args":"-r tsconfig-paths/register",
"env": {
"PORT":80,"NODE_ENV": "production"
},
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"ignore_watch": [
"[\\/\\\\]\\./",
"node_modules",
".vscode",
"app",
"log",
"routes",
"example",
"upload",
"dist",
"lib"
],
"instances": "max",
"min_uptime": "30s",
"max_restarts": 30,
"exec_mode" : "cluster_mode",
"error_file" : "./log/test-err.log",
"out_file": "./log/test-out.log",
"pid_file": "./log/test.pid",
"watch": false
}
}