forked from pockethost/pockethost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.config.cjs
45 lines (45 loc) · 1.01 KB
/
ecosystem.config.cjs
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
module.exports = {
apps: [
{
name: `firewall`,
script: 'pnpm prod:cli firewall serve',
},
{
name: `edge-daemon`,
script: 'pnpm prod:cli edge daemon serve',
cron_restart: '0 0 * * *',
},
{
name: `edge-ftp`,
script: 'pnpm prod:cli edge ftp serve',
cron_restart: '0 0 * * *',
},
{
name: `edge-syslog`,
script: 'pnpm prod:cli edge syslog serve',
},
{
name: `mothership`,
script: 'pnpm prod:cli mothership serve',
},
{
name: `mothership-mirror`,
script: 'pnpm prod:cli mothership mirror serve',
},
{
name: `pocketbase-update`,
restart_delay: 60 * 60 * 1000, // 1 hour
script: 'pnpm prod:cli pocketbase update',
},
{
name: `health-check`,
restart_delay: 60 * 1000, // 1 minute
script: 'pnpm prod:cli health check',
},
{
name: `health-compact`,
restart_delay: 60 * 1000, // 1 minute
script: 'pnpm prod:cli health compact',
},
],
}