Building Caddy with DNS ACME support.
50K+
Prebuilt Caddy Docker images with DNS provider modules for automatic HTTPS via Let's Encrypt DNS-01 challenges.
Each image contains a standard Caddy build with a single caddy-dns plugin compiled in, ready to use.
docker pull cmunroe/caddy-dns:cloudflare-latest
# docker-compose.yml
services:
caddy:
image: cmunroe/caddy-dns:cloudflare-latest
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
environment:
- CF_API_TOKEN=your-token-here
volumes:
caddy_data:
# Caddyfile
example.com {
tls {
dns cloudflare {env.CF_API_TOKEN}
}
respond "Hello, world!"
}
caddy:{version} Alpine imagelinux/amd64, linux/arm6480 (HTTP), 443 (HTTPS), 443/udp (HTTP/3)/etc/caddy/Caddyfile/data (TLS certificates are stored here — mount a volume to persist)/config (auto-generated JSON config)Each DNS provider has two tags:
| Format | Example | Description |
|---|---|---|
{provider}-{version} | cmunroe/caddy-dns:cloudflare-2.11.2 | Pinned to a specific Caddy version |
{provider}-latest | cmunroe/caddy-dns:cloudflare-latest | Always the most recent build |
Use the versioned tag for production deployments. Use latest for development or when you want automatic updates.
acmedns, acmeproxy, alidns, azure, bunny, cloudflare, desec, digitalocean, directadmin, dnsimple, dnsexit, dode, duckdns, dynu, dynv6, easydns, edgeone, gandi, glesys, godaddy, googleclouddns, he, hetzner, infomaniak, inwx, ionos, linode, loopia, luadns, mailinabox, metaname, mythicbeasts, namecheap, netcup, netnod, nfsn, njalla, oraclecloud, ovh, porkbun, powerdns, rfc2136, route53, scaleway, tencentcloud, thelittlehost, timeweb, unifi, vultr
For per-provider setup guides including Caddyfile configuration, credential instructions, and advanced options, see the full documentation in the source repository:
https://gitlab.com/cmunroe/caddy-dns
Each provider has its own setup guide at builds/{provider}/README.md with configuration examples sourced from the official caddy-dns repositories.
Caddy: 2.11.2
This project is maintained at gitlab.com/cmunroe/caddy-dns. Issues and feature requests should be filed there.
DNS provider modules are developed by the caddy-dns community on GitHub.
Content type
Image
Digest
sha256:9ed911af6…
Size
41 MB
Last updated
about 19 hours ago
docker pull cmunroe/caddy-dns:desec-latest