-
Notifications
You must be signed in to change notification settings - Fork 11
/
bte-pm2.json
55 lines (55 loc) · 1.39 KB
/
bte-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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"apps": [
{
"name": "bte-trapi",
"cwd": ".",
"script": "./packages/bte-server/built/server.js",
"node_args": [
"--require",
"./packages/bte-server/built/controllers/opentelemetry.js"
],
"exec_mode": "cluster",
"instances": 4,
"autorestart": true,
"exp_backoff_restart_delay": 100,
"instance_var": "INSTANCE_ID",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"env": {
"PORT": "3000",
"LOG": "./log",
"REQUEST_TIMEOUT": 300,
"EXPRESS_SAMPLE_RATE": 0.1,
"THREAD_SAMPLE_RATE": 0.1,
"PROFILE_SAMPLE_RATE": 0.1
},
"env_prod": {
"NODE_ENV": "production",
"REDIS_HOST": "localhost",
"REDIS_PORT": 6379
},
"env_prod_nocache": {
"NODE_ENV": "production",
"REDIS_HOST": "localhost",
"REDIS_PORT": 6379,
"RESULT_CACHING": false
},
"env_prodci": {
"NODE_ENV": "production",
"REDIS_TLS_ENABLED": true,
"REDIS_CLUSTER": true
},
"env_dev": {
"DEBUG": "biomedical-id-resolver,bte*",
"REDIS_HOST": "localhost",
"REDIS_PORT": 6379,
"RESULT_CACHING": false
},
"env_dev_prodmirror": {
"NODE_ENV": "production",
"REDIS_HOST": "localhost",
"REDIS_PORT": 6379,
"API_OVERRIDE": "true"
}
}
]
}