forked from alcorexchange/alcor-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.config.js.orig
51 lines (49 loc) · 1.19 KB
/
ecosystem.config.js.orig
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
require('dotenv').config()
module.exports = {
apps: [
{
name: 'Alcor-nuxt-ui',
exec_mode: 'cluster',
instances: 2,
script: './node_modules/nuxt/bin/nuxt.js',
args: 'start',
env: {
NODE_ENV: 'production',
NUXT_PORT: 7000,
NUXT_HOST: '0.0.0.0'
}
},
{
name: 'Alcor-api-server',
script: './server/services/ApiService/index.js',
node_args: '--nouse-idle-notification --expose-gc --max-old-space-size=8192 -r esm',
exec_mode: 'cluster',
instances: 6,
env: {
NODE_ENV: 'production',
PORT: 7001
}
},
{
name: 'Alcor-ws-server',
script: './server/services/SocketService/index.js',
node_args: '--nouse-idle-notification --expose-gc --max-old-space-size=8192 -r esm',
exec_mode: 'cluster',
instances: 10,
env: {
NODE_ENV: 'production',
PORT: 7002
}
},
{
name: 'Alcor-updater',
script: './server/services/UpdaterService/index.js',
node_args: '-r esm'
},
{
name: 'Alcor-orderbook-service',
script: './server/services/OrderbookService/index.js',
node_args: '-r esm'
}
]
}