desktop-dotfiles/navidrome/Dockerfile.caddy
Davide Polonio d5f9890dc8 feat(navidrome): migrate to DNS challenge with automated SSL
- Add caddy.env to gitignore for sensitive DNS credentials
- Replace manual SSL certificates with Let's Encrypt DNS challenge using
Namecheap
- Build custom Caddy image with namecheap DNS plugin
- Configure wildcard SSL for *.lan.poldebra.me domain
- Update docker-compose to use custom Caddy build and environment file

Note: we had to downgrade to Caddy 2.9, see
https://github.com/caddy-dns/namecheap/issues/14 for more information
2025-08-23 14:12:38 +02:00

8 lines
172 B
Docker

from caddy:2.9-builder-alpine as builder
run xcaddy build \
--with github.com/caddy-dns/namecheap
from caddy:alpine
copy --from=builder /usr/bin/caddy /usr/bin/caddy