Start ComfyUI automatically before queueing MiniMax jobs.

Health-check /system_stats, wait if the desktop is booting or busy, and start the host instance when it is fully offline.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-08-25 19:39:28 -05:00
co-authored by Cursor
parent f8a3be0fe8
commit f5829995c8
11 changed files with 791 additions and 8 deletions
+6
View File
@@ -1,6 +1,12 @@
PORT=3000
HOST=0.0.0.0
COMFY_HOST=http://192.168.77.7:8188
COMFY_PORT=8188
# Optional: command used when this server runs on the Comfy host
COMFY_LAUNCH_CMD=
# Windows host agent (scripts/comfy-host-agent.mjs) so Coolify can start Comfy remotely
COMFY_CONTROL_URL=http://192.168.77.7:8199
COMFY_CONTROL_TOKEN=
NUXT_SESSION_SECRET=change-me
NUXT_PUBLIC_AUTH_ENABLED=true