-
Notifications
You must be signed in to change notification settings - Fork 0
/
pm2.json
37 lines (37 loc) · 1.02 KB
/
pm2.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
{
"apps": [
{
"name": "contributor-backend",
"script": "sleep 1 && pnpm install && pnpm run start:backend",
"instances": 1,
"max_restarts": 3,
"restart_delay": 10000,
"exp_backoff_restart_delay": 100,
"error_file": "error.log",
"out_file": "/dev/null",
"log_date_format": "YYYY-MM-DD HH-mm-ss"
},
{
"name": "contributor-app",
"script": "pdm install&&pdm run python main.py",
"instances": 1,
"max_restarts": 3,
"restart_delay": 10000,
"exp_backoff_restart_delay": 100,
"error_file": "error.log",
"out_file": "/dev/null",
"log_date_format": "YYYY-MM-DD HH-mm-ss"
},
{
"name": "contributor-webhook",
"script": "sleep 1 && pnpm install && pnpm run start:webhook",
"instances": 1,
"max_restarts": 3,
"restart_delay": 10000,
"exp_backoff_restart_delay": 100,
"error_file": "error.log",
"out_file": "/dev/null",
"log_date_format": "YYYY-MM-DD HH-mm-ss"
}
]
}