boma/roles/reverse_proxy/molecule/default
sjat 3a31b8e6f4 fix(reverse_proxy): bind-mount the Caddy config dir so reload sees changes
The Caddyfile was bind-mounted as a single file. ansible.builtin.template writes
atomically (temp + rename), so a re-render swaps the file's inode while the running
container keeps the old one — `caddy reload` then re-read stale config and silently
no-op'd ("config is unchanged"), so new routes never loaded. Surfaced deploying the
NetBird route: Caddy never requested its cert. Fix: render to ./caddy/Caddyfile and
mount the ./caddy DIRECTORY at /etc/caddy — directory mounts reflect inode swaps, so
graceful `caddy reload` works. Proven on askari: atomic replace in the host dir is
visible inside the running container.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 07:44:45 +02:00
..
converge.yml feat(reverse_proxy): raw-directive route type; wire NetBird (gRPC/WS) route 2026-06-15 17:55:05 +02:00
molecule.yml feat(reverse_proxy): Caddy role (Gandi DNS-01, on-host image build, route catalog) 2026-06-14 17:36:58 +02:00
verify.yml fix(reverse_proxy): bind-mount the Caddy config dir so reload sees changes 2026-06-16 07:44:45 +02:00