fix(comfyui): add missing launch command, drop dead PUID/PGID vars
yurisasc/comfyui-rocm7.1 has no entrypoint/CMD of its own (drops into bash) and never reads PUID/PGID/VIDEO_GID/RENDER_GID/BASE_STORAGE_PATH - confirmed by inspecting the image directly. Without an explicit command the container just exits 0 immediately and restart-loops forever with zero log output, which is what was actually blocking comfyui.home/8138, unrelated to the earlier GGUF model swap. Add `command: python main.py --listen 0.0.0.0 --port 8188 --base-directory /storage` (the real way to point it at the storage volume) and remove COMFYUI_PUID/COMFYUI_PGID, since nothing consumes them. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
38ec636fb5
commit
69d0d76d49
3 files changed
+16
-26
No files matched your search
+1
-7
@@ -13,7 +13,7 @@
|
||||
# CI, piped), any conflict is a hard error unless --force is passed, which
|
||||
# accepts every new value automatically. Secrets and host-resolved values
|
||||
# (blank in .env.example — OMNIROUTE_*_SECRET/_KEY/_SALT/_PASSWORD,
|
||||
# SEARXNG_LAN_IP, COMFYUI_PUID/PGID, HOST_VIDEO_GID/RENDER_GID) are never
|
||||
# SEARXNG_LAN_IP, HOST_VIDEO_GID/RENDER_GID) are never
|
||||
# touched by this — they keep going through set_if_blank as before.
|
||||
#
|
||||
# omniroute's own routing/provider config (llama-server, search) lives in
|
||||
@@ -196,12 +196,6 @@ else
|
||||
echo "SEARXNG_LAN_IP: couldn't resolve search.home from this host, set it manually if still blank."
|
||||
fi
|
||||
|
||||
echo "==> resolving ComfyUI host UID"
|
||||
# yurisasc/comfyui-rocm7.1 wants these as env vars, not just group_add in
|
||||
# compose — resolve from this host, same pattern as SEARXNG_LAN_IP.
|
||||
set_if_blank COMFYUI_PUID "$(id -u)"
|
||||
set_if_blank COMFYUI_PGID "$(id -g)"
|
||||
|
||||
echo "==> resolving host video/render GIDs (shared by every GPU service)"
|
||||
# Numeric GIDs, not names, in docker-compose.yml's group_add: — Docker
|
||||
# resolves a *named* group_add entry against the container's own /etc/group,
|
||||
|
||||
Reference in new issue
Block a user