-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.js
More file actions
43 lines (43 loc) · 1.51 KB
/
ecosystem.config.js
File metadata and controls
43 lines (43 loc) · 1.51 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
module.exports = {
apps: [
{
name: 'minishinobi-backend',
script: 'src/app.js',
cwd: '/data/data/com.termux/files/home/MiniShinobi/backend',
instances: 1,
exec_mode: 'fork',
watch: false,
max_memory_restart: '400M',
env: { NODE_ENV: 'production' },
error_file:
'/data/data/com.termux/files/home/MiniShinobi/logs/backend-error.log',
out_file:
'/data/data/com.termux/files/home/MiniShinobi/logs/backend-out.log',
},
{
name: 'minishinobi-nginx',
script: '/data/data/com.termux/files/usr/bin/nginx',
cwd: '/data/data/com.termux/files/home/MiniShinobi',
args: '-c /data/data/com.termux/files/home/MiniShinobi/nginx/nginx.conf -g "daemon off;"',
interpreter: 'none',
watch: false,
error_file:
'/data/data/com.termux/files/home/MiniShinobi/logs/nginx-error.log',
out_file:
'/data/data/com.termux/files/home/MiniShinobi/logs/nginx-out.log',
},
{
name: 'minishinobi-tunnel',
script: '/data/data/com.termux/files/usr/bin/cloudflared',
cwd: '/data/data/com.termux/files/home/MiniShinobi',
args: '--config /data/data/com.termux/files/home/.cloudflared/config.yml tunnel run minishinobi-dashboard',
interpreter: 'none',
watch: false,
restart_delay: 5000,
error_file:
'/data/data/com.termux/files/home/MiniShinobi/logs/tunnel-error.log',
out_file:
'/data/data/com.termux/files/home/MiniShinobi/logs/tunnel-out.log',
},
],
};