fix(caddy): serve launcher from sibling mount, not nested under /srv/www

Mounting ./mirror/launcher at /srv/www/launcher failed: /srv/www is a
read-only mount, so the nested mountpoint can't be created. Mount it at
/srv/launcher and route /launcher/* via handle_path instead.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-24 05:04:59 +02:00
parent eede0102c6
commit 78e92a65be
2 changed files with 12 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ services:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./www:/srv/www:ro
- ./pack:/srv/pack:ro
- ./mirror/launcher:/srv/www/launcher:ro
- ./mirror/launcher:/srv/launcher:ro
- ./mirror/upstream:/srv/mirror:ro # byte-exact upstream mirror (see 11)
networks:
mcnet: