Caddy reverse proxy for Docker containers, configured entirely through labels
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Docker users who prefer Caddy over Traefik can now get Traefik-style label-driven routing: add containers and the proxy configures itself with zero downtime and automatic HTTPS.
A free open-source tool called caddy-docker-proxy makes the Caddy web server manage Docker containers automatically. Instead of editing one shared configuration file every time you add or remove a service, each container declares its own rules using labels. The tool rewrites the config on the fly and reloads without dropping connections, while certificates for HTTPS websites are issued automatically. It suits developers running small-to-medium self-hosted setups.
This tool automates reverse-proxy configuration for Docker deployments, eliminating manual config edits that risk breaking existing services. It competes with Traefik, which has offered label-based routing for years, but keeps Caddy's automatic Let's Encrypt and ZeroSSL certificates. The tradeoff is routing logic scattered across Compose files rather than centralized. Best fit is small-to-medium deployments where services churn; large shops may prefer centralized control. No support or pricing details are given.
caddy-docker-proxy (Go, Docker images lucaslorentz/caddy-docker-proxy:ci-alpine) watches Docker events, regenerates an in-memory Caddyfile from container labels, and triggers graceful zero-downtime reloads. Labels map directly to Caddyfile concepts, sites, snippets, global options, with Go template functions like {{upstreams 80}} for dynamic backend resolution. Runs in server, controller, or standalone mode. Requires a --ipv6 Docker network for real client IPs; supports remote Docker hosts.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Caddy Docker Traefik Let's Encrypt ZeroSSL caddy-docker-proxy
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.