From 5e6ba222cb61b162f0209f4e1dbeed821f46feed Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 23 Aug 2026 19:18:41 -0700 Subject: [PATCH] compose: point caddy's /srv/homepage at the host dir, not the repo The caddy container mounted the repo's shared/homepage (the static source) to /srv/homepage. But the deploy writes the generated files (status.json from the status checker, deployed.js from the deploy) to the host's /srv/homepage. So the container served the static files (200) but 404'd the generated ones. Mount the host's /srv/homepage instead, which holds both the static files (the deploy copies them) and the generated ones. --- dankclaw/compose.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dankclaw/compose.yaml b/dankclaw/compose.yaml index 07a4b00..c0bac4e 100644 --- a/dankclaw/compose.yaml +++ b/dankclaw/compose.yaml @@ -229,7 +229,11 @@ services: - /home/dank/Containers/caddy/Caddyfile:/etc/caddy/Caddyfile:ro - /home/dank/Containers/caddy/data:/data - /home/dank/Containers/caddy/config:/config - - ../shared/homepage:/srv/homepage:ro + # The homepage: the host's /srv/homepage. The deploy copies the static + # files there; the status checker writes status.json and the deploy + # writes deployed.js there. (Not the repo's shared/homepage, which + # lacks the generated files.) + - /srv/homepage:/srv/homepage:ro depends_on: - comfyui - hermes