-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathecosystem.json
More file actions
38 lines (38 loc) · 852 Bytes
/
ecosystem.json
File metadata and controls
38 lines (38 loc) · 852 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
34
35
36
37
38
{
"apps": [
{
// Application #1
"name": "server",
"script": "server.js",
"merge_logs": true,
"error_file": "server-error.log",
"out_file": "server-out.log",
"env_production": {
"NODE_ENV": "production",
"PORT": 8080
},
"env_staging": {
"NODE_ENV": "staging",
"PORT": 8080
}
},
{
// Application #2
"name": "hourly_cron",
"script": "hourly_cron.js",
"merge_logs": true,
"error_file": "hourly-error.log",
"out_file": "hourly-out.log",
"cron_restart": "0 * * * *"
},
{
// Application #3
"name": "daily_cron",
"script": "daily_cron.js",
"merge_logs": true,
"error_file": "daily-error.log",
"out_file": "daily-out.log",
"cron_restart": "0 0 * * *"
}
]
}