diff --git a/supervisord.conf b/supervisord.conf index b7f04b4..cf48593 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -1,16 +1,16 @@ [supervisord] -logfile=../logs/supervisord.log -pidfile=../supervisord.pid -childlogdir=../logs +logfile=logs/supervisord.log +pidfile=supervisord.pid +childlogdir=logs nodaemon=false loglevel=info [unix_http_server] -file=../supervisor.sock +file=supervisor.sock chmod=0700 [supervisorctl] -serverurl=unix://../supervisor.sock +serverurl=unix://supervisor.sock [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface @@ -24,52 +24,52 @@ port=0.0.0.0:9001 # ComfyUI Server [program:comfyui] -command=bash comfyui/start.sh -directory=../ComfyUI +command=bash ai/comfyui/start.sh +directory=ComfyUI autostart=true autorestart=true startretries=3 -stderr_logfile=../logs/comfyui.err.log -stdout_logfile=../logs/comfyui.out.log +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=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 stopwaitsecs=30 # AI Model Orchestrator [program:orchestrator] command=python3 model-orchestrator/orchestrator_subprocess.py -directory=../ai +directory=ai autostart=false autorestart=true startretries=3 -stderr_logfile=../logs/orchestrator.err.log -stdout_logfile=../logs/orchestrator.out.log +stderr_logfile=logs/orchestrator.err.log +stdout_logfile=logs/orchestrator.out.log stdout_logfile_maxbytes=50MB stdout_logfile_backups=10 stderr_logfile_maxbytes=50MB 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 stopwaitsecs=30 # ComfyUI WebDAV Sync Service [program:webdav-sync] -command=python3 ../ai/webdav-sync/webdav_sync.py -directory=../ai/webdav-sync +command=python3 webdav_sync.py +directory=ai/webdav-sync autostart=true autorestart=true startretries=3 -stderr_logfile=../logs/webdav-sync.err.log -stdout_logfile=../logs/webdav-sync.out.log +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 -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 stopwaitsecs=10