-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.config.js
36 lines (36 loc) · 971 Bytes
/
ecosystem.config.js
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
module.exports = {
apps: [
{
name: 'fhir-burni',
script: 'server.js',
node_args: ["--inspect"],
watch: false,
exec_mode: 'cluster',
instances: 2,
max_memory_restart: '500M',
time: true,
log_date_format: 'YYYY-MM-DD HH:mm Z',
force: true,
wait_ready: false,
max_restarts: 10,
autorestart: true,
error_file: './pm2log/err.log',
out_file: './pm2log/out.log',
log_file: './pm2log/log.log'
} ,
{
name: 'fhir-burni-schedule-update-validation-files',
script: 'models/FHIR/schedule-update-validation-files.js',
node_args: ["--inspect"],
watch: false,
exec_mode: 'fork',
max_memory_restart: '500M',
force: true,
wait_ready: false,
max_restarts: 10,
autorestart: true,
error_file: 'NULL',
out_file: 'NULL',
log_file: 'NULL'
}]
};