Repository navigation
Expand file tree
/
Copy pathecosystem.config.cjs
More file actions
58 lines (58 loc) · 1.79 KB
/
Copy pathecosystem.config.cjs
File metadata and controls
58 lines (58 loc) · 1.79 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
module.exports = {
apps: [
{
name: "gateway",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/gateway.json --http-body-limit=512000",
interpreter: "node",
},
{
name: "bff",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/bff.json --http-body-limit=512000",
interpreter: "node",
autorestart: true,
restart_delay: 1000
},
{
name: "notification",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/notification.json --http-body-limit=512000",
interpreter: "node",
autorestart: true,
restart_delay: 1000
},
{
name: "reads",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/reads.json --http-body-limit=512000",
interpreter: "node",
autorestart: true,
restart_delay: 1000
},
{
name: "writes",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/writes.json --http-body-limit=512000",
interpreter: "node",
autorestart: true,
restart_delay: 1000
},
{
name: "social-app",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/social-app.json --http-body-limit=512000",
interpreter: "node",
autorestart: true,
restart_delay: 1000
},
{
name: "proxy",
script: "./node_modules/jitar/dist/cli.js",
args: "start --service=deployment/services/production/proxy.json --http-body-limit=512000",
interpreter: "node",
autorestart: true,
restart_delay: 1000
}
]
};