Caddy with Brotli for Scaffold projects; -route53 adds wildcard certs via DNS. Rebuilt weekly.
970
Caddy images for Scaffold projects, built with Brotli
compression (encode br) and, in the -route53 variant, the Route 53 DNS plugin for wildcard certificates.
Multi-arch (linux/amd64, linux/arm64) and rebuilt weekly for security patches.
Source, issues and the build workflow: https://github.com/chrisshennan/scaffold-docker-images
| Tag | Image |
|---|---|
2.11.7 | Caddy + Brotli. For sites with fixed hostnames (normal HTTP certificate validation). |
2.11.7-route53 | The above + the Route 53 DNS plugin, for wildcard certificates via DNS validation. |
chrisshennan/scaffold-caddy@sha256:....Built from the official caddy Alpine image with xcaddy:
dunglas/caddy-cbrotli for Brotli compression (encode gzip zstd br)-route53 only: caddy-dns/route53. The plain image does not contain
any DNS provider plugin.The image keeps the official image's layout: the Caddyfile is read from /etc/caddy/Caddyfile, state lives in /data
and /config, and it exposes ports 80, 443 (TCP and UDP) and 2019. The image is flattened to a single layer. It runs
as root, as the official image does.
FROM chrisshennan/scaffold-caddy:2.11.7-route53
COPY ./Caddyfile /etc/caddy/Caddyfile
Mount a volume on /data so certificates survive container restarts:
services:
caddy:
image: chrisshennan/scaffold-caddy:2.11.7
ports: ["80:80", "443:443", "443:443/udp"]
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
volumes:
caddy_data:
Example Caddyfile using Brotli, PHP-FPM, and (with the -route53 image) a wildcard certificate:
example.com, *.example.com {
encode gzip zstd br
tls {
dns route53 {
profile default
}
}
root * /app/public
php_fastcgi php:9000
file_server
}
For the -route53 image, AWS credentials are read the way the plugin documents (see
https://github.com/caddy-dns/route53). Give them only to that container, and scope the IAM policy to the one hosted
zone (ChangeResourceRecordSets, ListHostedZones, GetChange).
MIT. See the LICENSE. The images also contain third-party software (Caddy, Alpine packages, the plugins above) under its own licenses.
Copyright (c) 2026 Chris Shennan (https://chrisshennan.com)
Content type
Image
Digest
sha256:598e74a95…
Size
23.5 MB
Last updated
3 days ago
docker pull chrisshennan/scaffold-caddy:2.11.7