forked from maksrom/javascript-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.json
More file actions
executable file
·43 lines (43 loc) · 1.42 KB
/
ecosystem.json
File metadata and controls
executable file
·43 lines (43 loc) · 1.42 KB
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
{
"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,
"ASSET_VERSIONING": "file",
"NODE_ENV": "production"
},
"env_learn-ru": {
"NODE_LANG": "ru",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://ru.js.cx"
},
"env_yuri": {
"NODE_LANG": "ru",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://ru.js.cx"
},
"env_nightly": {
"NODE_LANG": "ru",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://ru.js.cx"
},
"env_learn-en": {
"NODE_LANG": "en",
"SITE_HOST": "https://learn.javascript.info",
"STATIC_HOST": "https://en.js.cx"
}
}
]
}