# caddy-docker-proxy

> Caddy as a reverse proxy for Docker

Source: https://talira.ai/catalog/caddy-docker-proxy-6pp65w0s
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin, Infrastructure
- Categories: [infrastructure / proxies / reverse proxies](https://talira.ai/categories/infrastructure/proxies/reverse-proxies)
- Platforms: docker, linux, windows[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source under MIT.
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Lucas Lorentz](https://talira.ai/orgs/lucas-lorentz.md)

caddy-docker-proxy is a [Caddy](https://talira.ai/catalog/caddy-vc8j4642.md) plugin that turns Caddy into a reverse proxy for Docker containers configured by labels. It scans Docker metadata for caddy labels on services and containers, generates an in-memory Caddyfile with site entries and proxies to each service's DNS name or container IP, and reloads Caddy gracefully with zero downtime whenever a Docker object changes, so containers get HTTPS sites with Caddy's automatic certificates just by adding labels in Docker Compose or Swarm. Labels map to Caddyfile directives, snippets and global options, with Go templates. It runs standalone, or split into controllers that watch the Docker socket and servers that serve traffic across a Swarm, and ships as Docker images for Linux (including ARM) and Windows.

## Links

- GitHub: https://github.com/lucaslorentz/caddy-docker-proxy

## Problems it solves

- give each Docker container its own HTTPS domain just by adding labels in compose
- stop editing my reverse proxy config every time I add a self-hosted app
- use Caddy instead of Traefik for label-based routing in Docker Swarm
- automatic Let's Encrypt certificates for my homelab containers

## Features

- Caddyfile generated from Docker labels
- proxies to services by DNS name or container IP
- zero-downtime reload on Docker changes
- Docker Swarm services and plain containers
- Go templates and snippets in labels
- standalone, controller and server modes
- Docker images for amd64, ARM and Windows

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.70, adoption 0.74, momentum 0.49, community 0.69, backing 0.30, extensibility 0.00.

- last commit 22 days ago
- 15 commits in the last 90 days
- latest release v2.13.1 4 months ago
- 4.8k GitHub stars
- 53 contributors
- accepts sponsorship (Github)
- backed by Lucas Lorentz

## Related

- Works with [Caddy](https://talira.ai/catalog/caddy-vc8j4642.md)

## Alternatives

- [Traefik Proxy](https://talira.ai/catalog/traefik-proxy-rzfqntzc.md): The Cloud Native Application Proxy
- [Nginx Proxy Manager](https://talira.ai/catalog/nginx-proxy-manager-2a4nrjt7.md): Expose your services easily and securely
- [SWAG](https://talira.ai/catalog/swag-00z5h1q9.md): Secure Web Application Gateway: Nginx with Certbot and fail2ban in one container
- [Zoraxy](https://talira.ai/catalog/zoraxy-s40fbnn5.md): A general purpose HTTP reverse proxy and forwarding tool
- [Cosmos](https://talira.ai/catalog/cosmos-fqjm8z9n.md): The most secure and easy way to self-host a home server
- [Caddy](https://talira.ai/catalog/caddy-vc8j4642.md): The Ultimate Server with Automatic HTTPS

## Sources

[^1]: https://github.com/lucaslorentz/caddy-docker-proxy/blob/master/LICENSE (checked 24 Nov 2026)
[^2]: https://github.com/lucaslorentz/caddy-docker-proxy/blob/master/README.md (checked 24 Nov 2026)
