forked from maksrom/javascript-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.json
executable file
·27 lines (27 loc) · 895 Bytes
/
ecosystem.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
{
"apps": [
{
"name": "javascript",
"script": "bin/server",
"instances": "2",
"node_args": "",
"exec_mode": "cluster_mode",
"max_memory_restart": "2G",
"log_file": "/var/log/node/javascript.log",
"error_file": "/var/log/node/javascript-err.log",
"out_file": "/var/log/node/javascript-out.log",
"env": {
"HOST": "127.0.0.1",
"PORT": "3000",
"PM2_GRACEFUL_LISTEN_TIMEOUT": 1000,
"PM2_GRACEFUL_TIMEOUT": 5000
},
"env_production": {
"NODE_ENV": "production",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://js.cx",
"ASSET_VERSIONING": "file"
}
}
]
}