Files
runpod-ai-orchestrator/supervisord.conf

144 lines
3.6 KiB
Plaintext
Raw Normal View History

2025-11-26 15:31:41 +01:00
[supervisord]
logfile=.logs/supervisord.log
pidfile=supervisord.pid
childlogdir=.logs
nodaemon=false
loglevel=info
[unix_http_server]
file=supervisor.sock
chmod=0700
[supervisorctl]
serverurl=unix://supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
# Web interface for monitoring (proxied via nginx + Authelia)
[inet_http_server]
port=0.0.0.0:9001
# Authentication disabled - handled by Authelia SSO
# ComfyUI Server
[program:comfyui]
command=services/comfyui/venv/bin/python services/comfyui/main.py --listen 0.0.0.0 --port 8188 --enable-cors-header --preview-method auto
directory=.
autostart=true
autorestart=true
startretries=3
stderr_logfile=.logs/comfyui.err.log
stdout_logfile=.logs/comfyui.out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
environment=PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True",TQDM_DISABLE="1"
priority=100
stopwaitsecs=30
# ComfyUI WebDAV Sync Service
[program:webdav-sync]
command=services/webdav-sync/venv/bin/python services/webdav-sync/webdav_sync.py
directory=.
autostart=true
autorestart=true
startretries=3
stderr_logfile=.logs/webdav-sync.err.log
stdout_logfile=.logs/webdav-sync.out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
2025-11-27 09:33:31 +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="./services/comfyui/output"
2025-11-26 15:31:41 +01:00
priority=150
stopwaitsecs=10
# vLLM Llama 3.1 8B Server (Port 8001)
[program:llama]
command=services/vllm/venv/bin/vllm serve --config services/vllm/config_llama.yaml
directory=.
autostart=false
autorestart=true
startretries=3
stderr_logfile=.logs/llama.err.log
stdout_logfile=.logs/llama.out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
2025-11-27 00:20:42 +01:00
environment=HF_HOME="./.cache/vllm",HF_TOKEN="%(ENV_HF_TOKEN)s"
2025-11-26 15:31:41 +01:00
priority=200
stopwaitsecs=30
# vLLM BGE Embedding Server (Port 8002)
[program:bge]
command=services/vllm/venv/bin/vllm serve --config services/vllm/config_bge.yaml
directory=.
autostart=false
autorestart=true
startretries=3
stderr_logfile=.logs/bge.err.log
stdout_logfile=.logs/bge.out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
environment=HF_HOME="./.cache/vllm",HF_TOKEN="%(ENV_HF_TOKEN)s"
priority=210
stopwaitsecs=30
2025-11-26 15:31:41 +01:00
# AudioCraft Studio Service
[program:audiocraft]
command=services/audiocraft/venv/bin/python services/audiocraft/main.py
directory=.
2025-11-27 10:52:57 +01:00
autostart=false
2025-11-26 15:31:41 +01:00
autorestart=true
startretries=3
stderr_logfile=.logs/audiocraft.err.log
stdout_logfile=.logs/audiocraft.out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
2025-11-27 15:36:45 +01:00
environment=HF_HOME="./.cache/audiocraft",HF_TOKEN="%(ENV_HF_TOKEN)s",AUDIOCRAFT_ROOT_PATH="https://audiocraft.ai.pivoine.art"
2025-11-26 15:31:41 +01:00
priority=300
stopwaitsecs=10
2025-11-27 12:04:19 +01:00
# Upscale UI Service
[program:upscale]
2025-11-27 12:27:50 +01:00
command=services/upscale/venv/bin/python services/upscale/app.py
2025-11-27 12:04:19 +01:00
directory=.
autostart=false
autorestart=true
startretries=3
stderr_logfile=.logs/upscale.err.log
stdout_logfile=.logs/upscale.out.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
environment=UPSCALE_PORT="8080"
priority=400
stopwaitsecs=10
2025-11-26 15:31:41 +01:00
[group:comfyui]
programs=comfyui,webdav-sync
priority=100
[group:vllm]
programs=llama,bge
2025-11-26 15:31:41 +01:00
priority=200
[group:audiocraft]
programs=audiocraft
priority=300
2025-11-27 12:04:19 +01:00
[group:upscale]
programs=upscale
priority=400