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
+15
-13
@@ -233,21 +233,23 @@ services:
|
||||
environment:
|
||||
- HSA_OVERRIDE_GFX_VERSION=12.0.1
|
||||
- PYTORCH_ROCM_ARCH=gfx1201
|
||||
# This image also wants GID env vars directly (its own README asks
|
||||
# for both these and group_add above) — same HOST_VIDEO_GID/
|
||||
# HOST_RENDER_GID resolved by scripts/update.sh, shared with
|
||||
# llama-server now instead of comfyui-only vars.
|
||||
- PUID=${COMFYUI_PUID}
|
||||
- PGID=${COMFYUI_PGID}
|
||||
- VIDEO_GID=${HOST_VIDEO_GID}
|
||||
- RENDER_GID=${HOST_RENDER_GID}
|
||||
- BASE_STORAGE_PATH=/storage
|
||||
volumes:
|
||||
- comfyui-data:/storage
|
||||
# ponytail: exact internal storage path taken from the image's own
|
||||
# BASE_STORAGE_PATH env var, not independently confirmed against its
|
||||
# Dockerfile — if models/workflows don't persist across a recreate,
|
||||
# check this against the image's actual entrypoint first.
|
||||
# yurisasc/comfyui-rocm7.1 has no entrypoint/CMD of its own (just drops
|
||||
# into bash) and doesn't read PUID/PGID/VIDEO_GID/RENDER_GID or
|
||||
# BASE_STORAGE_PATH — confirmed by inspecting the image directly, so
|
||||
# this command is required, not optional, or the container exits 0
|
||||
# immediately and restart-loops. Runs as root (image's only user);
|
||||
# group_add above is what actually grants /dev/kfd + /dev/dri access.
|
||||
command:
|
||||
- python
|
||||
- main.py
|
||||
- --listen
|
||||
- "0.0.0.0"
|
||||
- --port
|
||||
- "8188"
|
||||
- --base-directory
|
||||
- /storage
|
||||
#
|
||||
# Published host port (unlike llama-server's ai-stack-only pattern):
|
||||
# ComfyUI's own UI is meant to be reachable directly too, for a planned
|
||||
|
||||
Reference in new issue
Block a user