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
·77 lines (77 loc) · 2.68 KB
/
ecosystem.json
File metadata and controls
executable file
·77 lines (77 loc) · 2.68 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"apps": [
{
"name": "javascript",
"script": "bin/server.js",
"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",
"cwd": "/js/javascript-nodejs",
"env": {
"HOST": "127.0.0.1",
"PORT": "3000",
"PM2_GRACEFUL_LISTEN_TIMEOUT": 1000,
"PM2_GRACEFUL_TIMEOUT": 5000,
"ASSET_VERSIONING": "file",
"NODE_ENV": "production",
"NODE_PATH": "./handlers:./modules"
},
"env_learn-ru": {
"NODE_LANG": "ru",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://js.cx"
},
"env_yuri": {
"NODE_LANG": "ru",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://js.cx"
},
"env_nightly": {
"NODE_LANG": "ru",
"SITE_HOST": "https://learn.javascript.ru",
"STATIC_HOST": "https://js.cx"
},
"env_learn-en": {
"NODE_LANG": "en",
"SITE_HOST": "https://learn.javascript.info",
"STATIC_HOST": "https://en.js.cx"
}
},
{
"name": "services",
"script": "bin/services.js",
"instances": "1",
"node_args": "",
"exec_mode": "cluster_mode",
"max_memory_restart": "2G",
"log_file": "/var/log/node/services.log",
"error_file": "/var/log/node/services-err.log",
"out_file": "/var/log/node/services-out.log",
"env": {
"PM2_GRACEFUL_LISTEN_TIMEOUT": 1000,
"PM2_GRACEFUL_TIMEOUT": 25000,
"NODE_ENV": "development"
}
},
{
"name": "slackin",
"script": "bin/slackin.js",
"instances": "1",
"node_args": "",
"exec_mode": "cluster_mode",
"max_memory_restart": "2G",
"log_file": "/var/log/node/slackin.log",
"error_file": "/var/log/node/slackin-err.log",
"out_file": "/var/log/node/slackin-out.log",
"env": {
"PM2_GRACEFUL_LISTEN_TIMEOUT": 1000,
"PM2_GRACEFUL_TIMEOUT": 5000,
"NODE_ENV": "development"
}
}
]
}