Caddy Docker Image
A minimalistic Docker image for Caddy.
$ docker run -d \ -v $HOME/caddy/Caddyfile:/etc/caddy/Caddyfile \ (1) -v $HOME/caddy/crypto:/etc/caddy/crypto \ (2) -p 80:80 -p 443:443 \ blachniet/caddy
1) By default, this image expects to find the Caddyfile in
You can use this line to mount your own
Caddyfile at this location.
2) This is strongly suggested in order to avoid Let's Encrypt rate limits.
This image sets the
/etc/caddy/crypto. This is where caddy stores
certificates and private keys.
You can persist these across container runs this line.
- [ ] DNS
- [X] HTTP
- DNS Providers