diff --git a/Docker/ddns-cloudflare/compose.yaml b/Docker/ddns-cloudflare/compose.yaml index b11eca2..348726f 100644 --- a/Docker/ddns-cloudflare/compose.yaml +++ b/Docker/ddns-cloudflare/compose.yaml @@ -2,6 +2,7 @@ services: cloudflare-ddns: image: favonia/cloudflare-ddns:latest container_name: cloudflare-ddns + env_file: .env # Choose the appropriate tag based on your need: # - "latest" for the latest stable version (which could become 2.x.y # in the future and break things) @@ -21,9 +22,9 @@ services: security_opt: [no-new-privileges:true] # Another protection to restrict superuser privileges (optional but recommended) environment: - - CLOUDFLARE_API_TOKEN=YOUR-CLOUDFLARE-API-TOKEN + - CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN} # Your Cloudflare API token - - DOMAINS=example.org,www.example.org,example.io + - DOMAINS=${DOMAINS} # Your domains (separated by commas) - PROXIED=true # Tell Cloudflare to cache webpages and hide your IP (optional)