Skip to main content

$ cat templates/docker-compose-caddy

docker-compose + Caddy reverse proxy

A production-lean Compose file with automatic HTTPS via Caddy.

docker-compose-caddyDownload template

Copy, set your domain, docker compose up. Automatic TLS, sane defaults, health checks included.

The problem

A small, annoying task that was eating time and attention every week. We measured it before touching anything.

The approach

One focused change, reproducible, with a guardrail and an obvious way to turn it off. No magic, no vibes.

$ ./run --dry-run
[ ok ] plan looks sane
$ ./run --apply

The receipts

Before/after benchmarks, the failure modes we hit, and the tradeoffs we accepted. The repo has the full runbook.