feat(comfyuimini): add "Manage Photos" sidebar link to the Gallery

ComfyUIMini's built-in gallery is view-only. Inject a "Manage Photos"
link into its sidebar (via the shared head.ejs partial at build time, so
no fork) that points to the Model Manager's delete-capable Gallery. The
URL is built client-side from the browser host; the port is baked from
the MODEL_MANAGER_PORT build arg (default 8189).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 15:46:04 -04:00
parent c9fa3fcab5
commit 44f7b5a697
4 changed files with 32 additions and 0 deletions
+2
View File
@@ -95,6 +95,8 @@ services:
dockerfile: Dockerfile
args:
COMFYUIMINI_REF: "${COMFYUIMINI_REF:-main}"
# Port of the Model Manager, baked into the "Manage Photos" sidebar link
MODEL_MANAGER_PORT: "${MODEL_MANAGER_PORT:-8189}"
image: comfyuimini:latest
container_name: comfyuimini