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
+4
View File
@@ -25,6 +25,10 @@ export default defineNuxtConfig({
},
runtimeConfig: {
comfyHost: process.env.COMFY_HOST || '',
comfyPort: process.env.COMFY_PORT || '',
comfyLaunchCmd: process.env.COMFY_LAUNCH_CMD || '',
comfyControlUrl: process.env.COMFY_CONTROL_URL || '',
comfyControlToken: process.env.COMFY_CONTROL_TOKEN || '',
sessionSecret: process.env.NUXT_SESSION_SECRET || '',
oidcClientId: process.env.NUXT_OIDC_CLIENT_ID || '',
oidcClientSecret: process.env.NUXT_OIDC_CLIENT_SECRET || '',