fix: correct relative paths in supervisord.conf
All paths now relative from /workspace directory where supervisord runs. This makes the configuration truly portable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
logfile=../logs/supervisord.log
|
logfile=logs/supervisord.log
|
||||||
pidfile=../supervisord.pid
|
pidfile=supervisord.pid
|
||||||
childlogdir=../logs
|
childlogdir=logs
|
||||||
nodaemon=false
|
nodaemon=false
|
||||||
loglevel=info
|
loglevel=info
|
||||||
|
|
||||||
[unix_http_server]
|
[unix_http_server]
|
||||||
file=../supervisor.sock
|
file=supervisor.sock
|
||||||
chmod=0700
|
chmod=0700
|
||||||
|
|
||||||
[supervisorctl]
|
[supervisorctl]
|
||||||
serverurl=unix://../supervisor.sock
|
serverurl=unix://supervisor.sock
|
||||||
|
|
||||||
[rpcinterface:supervisor]
|
[rpcinterface:supervisor]
|
||||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||||
@@ -24,52 +24,52 @@ port=0.0.0.0:9001
|
|||||||
|
|
||||||
# ComfyUI Server
|
# ComfyUI Server
|
||||||
[program:comfyui]
|
[program:comfyui]
|
||||||
command=bash comfyui/start.sh
|
command=bash ai/comfyui/start.sh
|
||||||
directory=../ComfyUI
|
directory=ComfyUI
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
stderr_logfile=../logs/comfyui.err.log
|
stderr_logfile=logs/comfyui.err.log
|
||||||
stdout_logfile=../logs/comfyui.out.log
|
stdout_logfile=logs/comfyui.out.log
|
||||||
stdout_logfile_maxbytes=50MB
|
stdout_logfile_maxbytes=50MB
|
||||||
stdout_logfile_backups=10
|
stdout_logfile_backups=10
|
||||||
stderr_logfile_maxbytes=50MB
|
stderr_logfile_maxbytes=50MB
|
||||||
stderr_logfile_backups=10
|
stderr_logfile_backups=10
|
||||||
environment=HF_HOME="../huggingface_cache",PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True",TQDM_DISABLE="1"
|
environment=HF_HOME="huggingface_cache",PYTORCH_CUDA_ALLOC_CONF="expandable_segments:True",TQDM_DISABLE="1"
|
||||||
priority=100
|
priority=100
|
||||||
stopwaitsecs=30
|
stopwaitsecs=30
|
||||||
|
|
||||||
# AI Model Orchestrator
|
# AI Model Orchestrator
|
||||||
[program:orchestrator]
|
[program:orchestrator]
|
||||||
command=python3 model-orchestrator/orchestrator_subprocess.py
|
command=python3 model-orchestrator/orchestrator_subprocess.py
|
||||||
directory=../ai
|
directory=ai
|
||||||
autostart=false
|
autostart=false
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
stderr_logfile=../logs/orchestrator.err.log
|
stderr_logfile=logs/orchestrator.err.log
|
||||||
stdout_logfile=../logs/orchestrator.out.log
|
stdout_logfile=logs/orchestrator.out.log
|
||||||
stdout_logfile_maxbytes=50MB
|
stdout_logfile_maxbytes=50MB
|
||||||
stdout_logfile_backups=10
|
stdout_logfile_backups=10
|
||||||
stderr_logfile_maxbytes=50MB
|
stderr_logfile_maxbytes=50MB
|
||||||
stderr_logfile_backups=10
|
stderr_logfile_backups=10
|
||||||
environment=HF_HOME="../huggingface_cache",HF_TOKEN="%(ENV_HF_TOKEN)s"
|
environment=HF_HOME="huggingface_cache",HF_TOKEN="%(ENV_HF_TOKEN)s"
|
||||||
priority=200
|
priority=200
|
||||||
stopwaitsecs=30
|
stopwaitsecs=30
|
||||||
|
|
||||||
# ComfyUI WebDAV Sync Service
|
# ComfyUI WebDAV Sync Service
|
||||||
[program:webdav-sync]
|
[program:webdav-sync]
|
||||||
command=python3 ../ai/webdav-sync/webdav_sync.py
|
command=python3 webdav_sync.py
|
||||||
directory=../ai/webdav-sync
|
directory=ai/webdav-sync
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startretries=3
|
startretries=3
|
||||||
stderr_logfile=../logs/webdav-sync.err.log
|
stderr_logfile=logs/webdav-sync.err.log
|
||||||
stdout_logfile=../logs/webdav-sync.out.log
|
stdout_logfile=logs/webdav-sync.out.log
|
||||||
stdout_logfile_maxbytes=50MB
|
stdout_logfile_maxbytes=50MB
|
||||||
stdout_logfile_backups=10
|
stdout_logfile_backups=10
|
||||||
stderr_logfile_maxbytes=50MB
|
stderr_logfile_maxbytes=50MB
|
||||||
stderr_logfile_backups=10
|
stderr_logfile_backups=10
|
||||||
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"
|
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"
|
||||||
priority=150
|
priority=150
|
||||||
stopwaitsecs=10
|
stopwaitsecs=10
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user