-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.json
45 lines (44 loc) · 956 Bytes
/
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
44
45
{
"apps": [
{
"name": "server",
"script": "app.js",
"watch": true,
"ignore_watch": [
"[\\/\\\\]\\./",
"\.git",
"node_modules",
"report.xlsx",
"/[\/\\]\."
],
"env": {
"NODE_ENV": "development"
},
"instances": 0,
"max_memory_restart": "16G",
"max_restarts": 10,
"exec_interpreter" : "node",
"exec_mode" : "cluster_mode",
"log_date_format" : "YYYY-MM-DD HH:mm Z"
},
{
"name": "cronjob",
"script": "cronjob.js",
"watch": true,
"ignore_watch": [
"[\\/\\\\]\\./",
"\.git",
"node_modules",
"report.xlsx",
"/[\/\\]\."
],
"env": {
"NODE_ENV": "development"
},
"max_memory_restart": "16G",
"max_restarts": 10,
"exec_interpreter" : "node",
"log_date_format" : "YYYY-MM-DD HH:mm Z"
}
]
}