Add supervisord configuration for backend and cloudflared services

This commit is contained in:
2025-08-14 23:55:57 +05:30
parent 720a37fa82
commit e5827cfa42

View File

@@ -0,0 +1,21 @@
[supervisord]
nodaemon=true
user=root
[program:backend]
command=/monaco-backend
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:cloudflared]
command=cloudflared tunnel --no-autoupdate run --config /etc/cloudflared/config.json
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0