Implements the Caddy reverse proxy role (ADR-024): builds boma/caddy-gandi:latest on-host (caddy-dns/gandi plugin), renders Caddyfile from route catalog, brings Compose project up. Adds community.docker to requirements.yml, production group_vars, and a caddy-image Makefile target. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8 lines
365 B
Docker
8 lines
365 B
Docker
# Custom Caddy with the Gandi DNS-01 provider (ADR-024). Built locally (make caddy-image)
|
|
# and on askari by the reverse_proxy role (askari can't reach the internal registry
|
|
# pre-mesh, so the image is built on the host).
|
|
FROM caddy:2-builder AS build
|
|
RUN xcaddy build --with github.com/caddy-dns/gandi
|
|
|
|
FROM caddy:2
|
|
COPY --from=build /usr/bin/caddy /usr/bin/caddy
|