feat(caddy): integrate Bunny.net DNS and dynamic IP support

- Replace Bazarr with NZBGet in Caddyfile routes
- Add global DNS provider configuration for ACME DNS-01 challenges
- Implement dynamic DNS updater with Bunny.net provider
- Add comprehensive security headers and authentication
- Update documentation with new requirements and setup instructions
- Add .env.example, Dockerfile, cron jobs, and scripts
- Modify compose.yml to use local build and add environment variables

BREAKING CHANGE: Requires Bunny.net API key and updated Caddyfile configuration
This commit is contained in:
Nils-Johan Gynther
2026-06-04 17:23:35 +02:00
parent d553094a88
commit 76933d21c1
7 changed files with 394 additions and 24 deletions
+15
View File
@@ -0,0 +1,15 @@
# Custom Caddy Dockerfile with Bunny DNS and Dynamic DNS modules
# Based on official Caddy Alpine image
FROM caddy:2.7.6-alpine
# Install xcaddy for custom builds
RUN apk add --no-cache xcaddy
# Build Caddy with required modules
RUN xcaddy build \
--output /usr/bin/caddy \
--with github.com/caddy-dns/bunny \
--with github.com/mholt/caddy-dynamicdns
# Verify modules are loaded
RUN caddy list-modules | grep -E "dns.providers.bunny|dynamic_dns" && echo "Modules loaded successfully" || exit 1