-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.config.json
44 lines (44 loc) · 1.08 KB
/
api.config.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
{
"apps": [
{
"name": "mle-queue",
"script": "./queue/app.js",
"node_args": ["--inspect", "--expose-gc"],
"max_memory_restart": "4096M",
"watch": false,
"instances": 3,
"exec_mode": "cluster",
"ignore_watch": [
"node_modules"
],
"env": {
"DYLD_INSERT_LIBRARIES": "/usr/local/Cellar/jemalloc/5.2.1_1/lib/libjemalloc.dylib"
},
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "./logs/mle_queue_error.log",
"out_file": "./logs/mle_queue_output.log",
"time": true
},
{
"name": "mle-api",
"script": "server.js",
"watch": false,
"ignore_watch": [
"node_modules"
],
"instances": 4,
"exec_mode": "cluster",
"env": {
"NODE_ENV": "development"
},
"env_production": {
"NODE_ENV": "production"
},
"max_memory_restart": "1000M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"error_file": "./logs/mle_api_error.log",
"out_file": "./logs/mle_api_output.log",
"time": true
}
]
}