-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathecosystem.prod.config.js
More file actions
34 lines (34 loc) · 949 Bytes
/
ecosystem.prod.config.js
File metadata and controls
34 lines (34 loc) · 949 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
module.exports = {
apps: [
{
name: 'multisig-backend',
cwd: './backend',
script: './target/release/multisigmonitor-backend',
interpreter: 'none',
env_file: '../secrets/.env.backend.prod',
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '500M',
error_file: './logs/backend-error.log',
out_file: './logs/backend-out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
},
{
name: 'multisig-worker',
cwd: './backend',
script: './target/release/monitor-worker',
interpreter: 'none',
env_file: '../secrets/.env.backend.prod',
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '500M',
error_file: './logs/worker-error.log',
out_file: './logs/worker-out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
},
],
};