-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.json
More file actions
49 lines (49 loc) · 1.28 KB
/
ecosystem.config.json
File metadata and controls
49 lines (49 loc) · 1.28 KB
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
46
47
48
49
{
"apps": [
{
"name": "liaison-event-processor",
"script": "scripts/event-processor.py",
"interpreter": "python3",
"cwd": ".",
"instances": 1,
"watch": false,
"max_restarts": 10,
"min_uptime": "10s",
"max_memory_restart": "1G",
"env": {
"NODE_ENV": "production",
"EVENTS_DIR": ".events",
"LOG_LEVEL": "info"
},
"error_file": ".pm2/logs/error.log",
"out_file": ".pm2/logs/out.log",
"log_file": ".pm2/logs/combined.log",
"time": true,
"autorestart": true,
"kill_timeout": 5000
},
{
"name": "beads-sync-daemon",
"script": "bd",
"args": ["daemon", "--start", "--auto-commit", "--auto-push", "--interval=15s"],
"cwd": ".",
"instances": 1,
"watch": false,
"max_restarts": 5,
"min_uptime": "30s",
"max_memory_restart": "512M",
"env": {
"BD_AUTO_START_DAEMON": "true",
"BD_SYNC_BRANCH": "beads-sync",
"BD_FLUSH_DEBOUNCE": "10s"
},
"error_file": ".pm2/logs/beads-error.log",
"out_file": ".pm2/logs/beads-out.log",
"log_file": ".pm2/logs/beads-combined.log",
"time": true,
"autorestart": true,
"kill_timeout": 10000,
"merge_logs": true
}
]
}