Route Coolify through a scanned Comfy proxy instead of pinning hopped listen ports.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-02 08:04:11 -05:00
co-authored by Cursor
parent 2ae5f6fb2e
commit bdec8872b6
5 changed files with 99 additions and 36 deletions
+5 -2
View File
@@ -1,13 +1,16 @@
PORT=3000
HOST=0.0.0.0
# ComfyUI on the Windows desktop. Desktop hops ports (8188/8189/8190/...).
# The host agent (scripts/comfy-host-agent.mjs) finds the live instance and proxies it on 8198.
# ComfyUI on the Windows desktop hops listen ports (8188/8189/8190/...).
# Coolify never talks to those. The host agent scans for the live instance
# and always fronts it on 8198. Point the site at that door (or just set
# COMFY_CONTROL_URL — the app rewrites Beast HTTP to 8198 automatically).
COMFY_HOST=http://192.168.77.7:8198
COMFY_PORT=8198
# 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_PROXY_PORT=8198
COMFY_CONTROL_TOKEN=
# Optional. If set, MyMonitor must send it as X-Monitor-Token (or ?token=).
# MONITOR_TOKEN=