From 9f2f0aa201b4367bc2b9a1ac7de153cb3e15688d Mon Sep 17 00:00:00 2001 From: Maksym Buz <79866323+xopek-by@users.noreply.github.com> Date: Sun, 23 Feb 2025 18:47:01 +0100 Subject: [PATCH] added variables --- ddns-cloudflare/compose.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ddns-cloudflare/compose.yaml b/ddns-cloudflare/compose.yaml index b11eca2..348726f 100644 --- a/ddns-cloudflare/compose.yaml +++ b/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)