|
[supervisord] |
|
logfile=/var/log/supervisor/supervisord.log |
|
logfile_maxbytes=10MB |
|
logfile_backups=10 |
|
loglevel=info |
|
pidfile=/var/run/supervisor/supervisord.pid |
|
nodaemon=true |
|
childlogdir=/var/log/supervisor |
|
|
|
[inet_http_server] |
|
port=127.0.0.1:9007 |
|
|
|
[rpcinterface:supervisor] |
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface |
|
|
|
[supervisorctl] |
|
serverurl=http://127.0.0.1:9007 |
|
|
|
|
|
|
|
[program:cloudflared] |
|
command=/app/cloudflared tunnel --no-autoupdate run --token %(ENV_CF_TOKEN)s |
|
directory=/app |
|
stdout_logfile=/dev/stdout |
|
stderr_logfile=/dev/stderr |
|
autostart=true |
|
autorestart=true |
|
startsecs=5 |
|
stopwaitsecs = 5 |
|
killasgroup=true |
|
|
|
|
|
|
|
[program:Disbox_server] |
|
command=node disbox-server.js |
|
directory=/app/server |
|
stdout_logfile=/dev/stdout |
|
stderr_logfile=/dev/stderr |
|
autostart=true |
|
autorestart=true |
|
startsecs=5 |
|
stopwaitsecs = 5 |
|
killasgroup=true |
|
|
|
|
|
|
|
[program:Disbox_client] |
|
command=npm start |
|
directory=/app/web |
|
stdout_logfile=/dev/stdout |
|
stderr_logfile=/dev/stderr |
|
autostart=true |
|
autorestart=true |
|
startsecs=5 |
|
stopwaitsecs = 5 |
|
killasgroup=true |
|
|