2025-11-22 09:22:16 +01:00
|
|
|
[supervisord]
|
2025-11-22 20:51:59 +01:00
|
|
|
logfile=logs/supervisord.log
|
|
|
|
|
pidfile=supervisord.pid
|
|
|
|
|
childlogdir=logs
|
2025-11-22 09:22:16 +01:00
|
|
|
nodaemon=false
|
|
|
|
|
loglevel=info
|
|
|
|
|
|
|
|
|
|
[unix_http_server]
|
2025-11-22 20:51:59 +01:00
|
|
|
file=supervisor.sock
|
2025-11-22 09:22:16 +01:00
|
|
|
chmod=0700
|
|
|
|
|
|
|
|
|
|
[supervisorctl]
|
2025-11-22 20:51:59 +01:00
|
|
|
serverurl=unix://supervisor.sock
|
2025-11-22 09:22:16 +01:00
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
2025-11-22 13:19:02 +01:00
|
|
|
# Web interface for monitoring (proxied via nginx + Authelia)
|
2025-11-22 09:22:16 +01:00
|
|
|
[inet_http_server]
|
2025-11-22 13:19:02 +01:00
|
|
|
port=0.0.0.0:9001
|
|
|
|
|
# Authentication disabled - handled by Authelia SSO
|
|
|
|
|
# username=admin
|
|
|
|
|
# password=runpod2024
|
2025-11-22 09:22:16 +01:00
|
|
|
|
|
|
|
|
# ComfyUI Server
|
|
|
|
|
[program:comfyui]
|
2025-11-22 20:51:59 +01:00
|
|
|
command=bash ai/comfyui/start.sh
|
|
|
|
|
directory=ComfyUI
|
2025-11-22 09:22:16 +01:00
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
startretries=3
|
2025-11-22 20:51:59 +01:00
|
|
|
stderr_logfile=logs/comfyui.err.log
|
|
|
|
|
stdout_logfile=logs/comfyui.out.log
|
2025-11-22 09:22:16 +01:00
|
|
|
stdout_logfile_maxbytes=50MB
|
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
|
stderr_logfile_maxbytes=50MB
|
|
|
|
|
stderr_logfile_backups=10
|
2025-11-22 20:51:59 +01:00
|
|
|
environment=HF_HOME="huggingface_cache",PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True",TQDM_DISABLE="1"
|
2025-11-22 09:22:16 +01:00
|
|
|
priority=100
|
|
|
|
|
stopwaitsecs=30
|
|
|
|
|
|
|
|
|
|
# AI Model Orchestrator
|
|
|
|
|
[program:orchestrator]
|
|
|
|
|
command=python3 model-orchestrator/orchestrator_subprocess.py
|
2025-11-22 20:51:59 +01:00
|
|
|
directory=ai
|
2025-11-22 09:22:16 +01:00
|
|
|
autostart=false
|
|
|
|
|
autorestart=true
|
|
|
|
|
startretries=3
|
2025-11-22 20:51:59 +01:00
|
|
|
stderr_logfile=logs/orchestrator.err.log
|
|
|
|
|
stdout_logfile=logs/orchestrator.out.log
|
2025-11-22 09:22:16 +01:00
|
|
|
stdout_logfile_maxbytes=50MB
|
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
|
stderr_logfile_maxbytes=50MB
|
|
|
|
|
stderr_logfile_backups=10
|
2025-11-22 20:55:45 +01:00
|
|
|
environment=HF_HOME="huggingface_cache",HF_TOKEN="%(ENV_HF_TOKEN)s"
|
2025-11-22 09:22:16 +01:00
|
|
|
priority=200
|
|
|
|
|
stopwaitsecs=30
|
|
|
|
|
|
2025-11-22 18:58:18 +01:00
|
|
|
# ComfyUI WebDAV Sync Service
|
|
|
|
|
[program:webdav-sync]
|
2025-11-22 20:51:59 +01:00
|
|
|
command=python3 webdav_sync.py
|
|
|
|
|
directory=ai/webdav-sync
|
2025-11-22 18:58:18 +01:00
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
startretries=3
|
2025-11-22 20:51:59 +01:00
|
|
|
stderr_logfile=logs/webdav-sync.err.log
|
|
|
|
|
stdout_logfile=logs/webdav-sync.out.log
|
2025-11-22 18:58:18 +01:00
|
|
|
stdout_logfile_maxbytes=50MB
|
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
|
stderr_logfile_maxbytes=50MB
|
|
|
|
|
stderr_logfile_backups=10
|
2025-11-22 20:51:59 +01:00
|
|
|
environment=WEBDAV_URL="%(ENV_WEBDAV_URL)s",WEBDAV_USERNAME="%(ENV_WEBDAV_USERNAME)s",WEBDAV_PASSWORD="%(ENV_WEBDAV_PASSWORD)s",WEBDAV_REMOTE_PATH="%(ENV_WEBDAV_REMOTE_PATH)s",COMFYUI_OUTPUT_DIR="ComfyUI/output"
|
2025-11-22 18:58:18 +01:00
|
|
|
priority=150
|
|
|
|
|
stopwaitsecs=10
|
|
|
|
|
|
2025-11-22 09:22:16 +01:00
|
|
|
[group:ai-services]
|
2025-11-22 18:58:18 +01:00
|
|
|
programs=comfyui,orchestrator,webdav-sync
|
2025-11-22 09:22:16 +01:00
|
|
|
priority=999
|