From 922e8ad3d552a7b819877823310ad2d02747aaca Mon Sep 17 00:00:00 2001 From: Vuong Hoang Date: Fri, 12 Jun 2026 11:06:17 -0700 Subject: [PATCH] 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. --- stacks/arbo/compose.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/stacks/arbo/compose.yaml b/stacks/arbo/compose.yaml index 99d212a..e952fd2 100644 --- a/stacks/arbo/compose.yaml +++ b/stacks/arbo/compose.yaml @@ -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)\""]