xbazzi e7ba86f10a
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 35s
Feat: add scylladb + a bunch of stuff I forgot to commit earlier
2025-08-21 23:43:52 -06:00

18 lines
528 B
Django/Jinja

ARG CADDY_VERSION={{ item.version }}
FROM caddy:{{ item.version }}-builder AS builder
RUN xcaddy build \
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
--with github.com/hairyhenderson/caddy-teapot-module \
--with github.com/caddy-dns/cloudflare
FROM caddy:{{ item.version }}-{{ item.os }}
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
# Only for standalone Caddy. This one's pimped.
#CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
CMD ["caddy", "docker-proxy"]