Files
docker-compose-template/apps/cloudflare-ddns/compose.yaml
T
Viren070 ec66655997 feat!: a few (important) changes
- move core configuratiion (authelia, traefik) to main .env
- move all hostname definitions to main .env
- add cloudflare ddns to automatically create DNS records
- automatically determine stremio addon hostnames for authelia using predefined hostname environment variables
- give all services a profile, including the previously implicit "default" services. Instead provide an explicit "required" profile that contains traefik and authelia. Allowing you to restart a specific profile without including the previous default services and also allowing you to have more control.
2025-04-18 20:14:28 +01:00

21 lines
586 B
YAML

services:
cloudflare-ddns:
image: favonia/cloudflare-ddns:1
container_name: cloudflare-ddns
restart: unless-stopped
user: "${PUID}:${PGID}"
network_mode: host
read_only: true
cap_drop: [all]
security_opt: [no-new-privileges:true]
environment:
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
# Your Cloudflare API token
- DOMAINS=${DOMAINS}
# Your domains (separated by commas)
- PROXIED=false
# Tell Cloudflare to cache webpages and hide your IP (optional)
profiles:
- cloudflare-ddns
- all