61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
|
|
[supervisord]
|
||
|
|
logfile=/workspace/logs/supervisord.log
|
||
|
|
pidfile=/workspace/supervisord.pid
|
||
|
|
childlogdir=/workspace/logs
|
||
|
|
nodaemon=false
|
||
|
|
loglevel=info
|
||
|
|
|
||
|
|
[unix_http_server]
|
||
|
|
file=/workspace/supervisor.sock
|
||
|
|
chmod=0700
|
||
|
|
|
||
|
|
[supervisorctl]
|
||
|
|
serverurl=unix:///workspace/supervisor.sock
|
||
|
|
|
||
|
|
[rpcinterface:supervisor]
|
||
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||
|
|
|
||
|
|
# Web interface for monitoring (localhost only)
|
||
|
|
[inet_http_server]
|
||
|
|
port=127.0.0.1:9001
|
||
|
|
username=admin
|
||
|
|
password=runpod2024
|
||
|
|
|
||
|
|
# ComfyUI Server
|
||
|
|
[program:comfyui]
|
||
|
|
command=bash /workspace/ai/models/comfyui/start.sh
|
||
|
|
directory=/workspace/ComfyUI
|
||
|
|
autostart=true
|
||
|
|
autorestart=true
|
||
|
|
startretries=3
|
||
|
|
stderr_logfile=/workspace/logs/comfyui.err.log
|
||
|
|
stdout_logfile=/workspace/logs/comfyui.out.log
|
||
|
|
stdout_logfile_maxbytes=50MB
|
||
|
|
stdout_logfile_backups=10
|
||
|
|
stderr_logfile_maxbytes=50MB
|
||
|
|
stderr_logfile_backups=10
|
||
|
|
environment=HF_HOME="/workspace/huggingface_cache",PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True"
|
||
|
|
priority=100
|
||
|
|
stopwaitsecs=30
|
||
|
|
|
||
|
|
# AI Model Orchestrator
|
||
|
|
[program:orchestrator]
|
||
|
|
command=python3 model-orchestrator/orchestrator_subprocess.py
|
||
|
|
directory=/workspace/ai
|
||
|
|
autostart=false
|
||
|
|
autorestart=true
|
||
|
|
startretries=3
|
||
|
|
stderr_logfile=/workspace/logs/orchestrator.err.log
|
||
|
|
stdout_logfile=/workspace/logs/orchestrator.out.log
|
||
|
|
stdout_logfile_maxbytes=50MB
|
||
|
|
stdout_logfile_backups=10
|
||
|
|
stderr_logfile_maxbytes=50MB
|
||
|
|
stderr_logfile_backups=10
|
||
|
|
environment=HF_HOME="/workspace/huggingface_cache",HF_TOKEN="%(ENV_HF_TOKEN)s"
|
||
|
|
priority=200
|
||
|
|
stopwaitsecs=30
|
||
|
|
|
||
|
|
[group:ai-services]
|
||
|
|
programs=comfyui,orchestrator
|
||
|
|
priority=999
|