-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpm2-dev.json
More file actions
29 lines (29 loc) · 770 Bytes
/
pm2-dev.json
File metadata and controls
29 lines (29 loc) · 770 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
{
"apps": [
{
"name": "node-skeleton",
"script": "./dist/server.js",
"exec_mode": "cluster",
"instances": 0,
"merge_logs": true,
"log_type": "json",
"max_memory_restart": "500M",
"max_restarts": "100",
"output": "./logs/out.log",
"error": "./logs/error.log",
"dependencies": [
"pm2-logrotate"
],
"node_args": "--harmony",
"watch": true,
"ignore_watch": [
"./node_modules",
"./logs"
],
"env": {
"NODE_ENV": "development",
"NODEJS_PORT": "8085"
}
}
]
}