feat(arbo): ro-mount frontend from checkout (v0.11.2 delivery, ADR-0001 D2)

Extends the catalog/graphs git-pull-mount pattern to the SPA frontend so
frontend changes reach prod via git pull + restart, no image rebuild.
Delivers the v0.11.2 auth-on catalog-load fix without a rebuild; baked
image frontend stays the fallback.
This commit is contained in:
vh
2026-06-12 11:06:17 -07:00
parent bdb3312298
commit 922e8ad3d5
+7 -3
View File
@@ -56,9 +56,13 @@ services:
# input, artifact-wipe deletes output):
- /worktank/comfyui/basedir/input:/comfy/input
- /worktank/comfyui/basedir/output:/comfy/output
# catalog checkout (comfy-dev clone on the host), read-only:
- ${ARBO_CATALOG_DIR:-/worktank/arbo/repo}/catalog:/app/catalog:ro # CONFIRM in-container path vs image layout
- ${ARBO_CATALOG_DIR:-/worktank/arbo/repo}/graphs:/app/graphs:ro # CONFIRM in-container path vs image layout
# comfy-dev checkout on the host (D2 git-pull target), read-only. catalog +
# graphs + frontend all ride the mount, so a catalog OR SPA change reaches
# prod via `git pull + restart` — no image rebuild (ADR-0001 D2, extended to
# the frontend per the v0.11.2 prod fix). Baked image copies are the fallback.
- ${ARBO_CATALOG_DIR:-/worktank/arbo/repo}/catalog:/app/catalog:ro
- ${ARBO_CATALOG_DIR:-/worktank/arbo/repo}/graphs:/app/graphs:ro
- ${ARBO_CATALOG_DIR:-/worktank/arbo/repo}/frontend:/app/frontend:ro
# python-based (the slim image ships no curl/wget; python is always present):
healthcheck:
test: ["CMD-SHELL", "python -c \"import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://localhost:8200/healthz').status==200 else 1)\""]