This repository has been archived by the owner on Jan 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.json
102 lines (102 loc) · 3.02 KB
/
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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"apps": [
{
// Panel SSR
"name" : "panel-ssr",
"script" : "./panel/index.js",
"cwd" : "/tarino/panel",
"watch" : false,
"max_memory_restart": "650M",
"env" : {
"NODE_ENV" : "development"
},
"env_production" : {
"NODE_ENV" : "production",
"PORT" : 5000
},
"env_staging" : {
"NODE_ENV" : "staging"
}
},
{
// Main Theme
"name" : "theme",
"script" : "./theme/index.js",
"cwd" : "/tarino/theme",
"watch" : false,
"instances" : "max",
"exec_mode" : "cluster",
"error_file" : "./child-err.log",
"out_file" : "./child-out.log",
"pid_file" : "./child.pid",
"env" : {
"NODE_ENV" : "development",
"PORT" : 5100
},
"env_production" : {
"NODE_ENV" : "production",
"PORT" : 5100
},
"env_staging" : {
"NODE_ENV" : "staging",
"PORT" : 5100
}
},
{
// New Theme
"name" : "newtheme",
"script" : "./newtheme/index.js",
"cwd" : "/tarino/newtheme",
"watch" : false,
"instances" : "max",
"exec_mode" : "cluster",
"error_file" : "./child-err.log",
"out_file" : "./child-out.log",
"pid_file" : "./child.pid",
"env" : {
"NODE_ENV" : "development",
"PORT" : 5500
},
"env_production" : {
"NODE_ENV" : "production",
"PORT" : 5500
},
"env_staging" : {
"NODE_ENV" : "staging",
"PORT" : 5500
}
},
{
// Scripts Main Api
"name" : "scripts-api",
"script" : "./scripts/api.js",
"cwd" : "/tarino/scripts",
"watch" : false,
"instances" : "max",
"exec_mode" : "cluster",
"error_file" : "./child-err.log",
"out_file" : "./child-out.log",
"pid_file" : "./child.pid",
"env" : {
"NODE_ENV" : "development",
"PORT" : 5200
},
"env_production" : {
"NODE_ENV" : "production",
"PORT" : 5200
},
"env_staging" : {
"NODE_ENV" : "staging",
"PORT" : 5200
}
},
// {
// // Server Status
// "name" : "server-status",
// "script" : "./scripts/server_status/index.js",
// "cwd" : "/tarino/scripts/server_status",
// "watch" : true,
// "exec_mode" : "fork"
// }
]
}