mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 05:40:11 -08:00
Add Cloudflare DNS support to Caddy configuration
- Updated .env.example to include CF_ZONE_READ and CF_DNS_EDIT variables. - Enhanced Caddyfile to utilize Cloudflare DNS for TLS. - Created Dockerfile for building Caddy with Cloudflare DNS support. - Modified docker-compose.yml to use the new caddy-cloudflare image and set environment variables.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
|
||||
# create the API token in https://dash.cloudflare.com/profile/api-tokens
|
||||
# provide access to ptrwd.com for DNS zone
|
||||
CLOUDFLARE_TOKEN=
|
||||
# create auth tokens -
|
||||
# `Zone.Zone:Read` for all zones, and
|
||||
# `Zone.DNS:Edit` permissions for ptrwd.com
|
||||
# https://github.com/caddy-dns/cloudflare
|
||||
CF_ZONE_READ=
|
||||
CF_DNS_EDIT=
|
||||
Reference in New Issue
Block a user