-
Notifications
You must be signed in to change notification settings - Fork 3
/
ecosystem.json
44 lines (44 loc) · 1.04 KB
/
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
{
"apps": [
{
"name": "api-server",
"script": "src/app.js",
"max_memory_restart": "1G",
// "error_file" : "./logs/error.log",
// "out_file" : "./logs/out.log",
"out_file": "/dev/null",
"error_file": "/dev/null",
"merge_logs" : true,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"env": {
"NODE_ENV": "development"
},
"env_test" : {
"NODE_ENV": "test"
},
"env_pro" : {
"NODE_ENV": "production"
}
},
{
"name": "cron-server",
"script": "src/cron.js",
"max_memory_restart": "1G",
// "error_file" : "./logs/error.log",
// "out_file" : "./logs/out.log",
"out_file": "/dev/null",
"error_file": "/dev/null",
"merge_logs" : true,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"env": {
"NODE_ENV": "development"
},
"env_test" : {
"NODE_ENV": "test"
},
"env_pro" : {
"NODE_ENV": "production"
}
}
]
}