caddy with replace/response

This commit is contained in:
2025-09-11 12:56:27 -05:00
parent 47b5b7e8fd
commit 57fbce27f6
3 changed files with 37 additions and 11 deletions

10
caddy/Dockerfile.caddy Normal file
View File

@@ -0,0 +1,10 @@
# Caddy mit Cloudflare-DNS + replace-response bauen
FROM caddy:2.8-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/caddyserver/replace-response
FROM caddy:2.8
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
# (optional) Ort für Logs
RUN mkdir -p /var/log/caddy