From 2d8745e10ea2eb1765d7c16b90daedd8783840c6e0fbf50349ac01a984b094a8 Mon Sep 17 00:00:00 2001 From: jeekkaaaa Date: Thu, 27 Mar 2025 12:32:24 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..669164c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,29 @@ +services: + cloudflare-ddns: + container_name: DDNS-CLOUD + image: favonia/cloudflare-ddns:latest + # 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) + # - "1" for the latest stable version whose major version is 1 + # - "1.x.y" to pin the specific version 1.x.y + network_mode: host + # This bypasses network isolation and makes IPv6 easier (optional; see below) + restart: always + # Restart the updater after reboot + user: "1000:1000" + # Run the updater with specific user and group IDs (in that order). + # You can change the two numbers based on your need. + read_only: true + # Make the container filesystem read-only (optional but recommended) + cap_drop: [all] + # Drop all Linux capabilities (optional but recommended) + security_opt: [no-new-privileges:true] + # Another protection to restrict superuser privileges (optional but recommended) + environment: + - CLOUDFLARE_API_TOKEN=0JMeRVmx6IdfgyM4t8WPwhh7gFBEDvJz5CgWIgvk + # Your Cloudflare API token + - DOMAINS=example.com,mumble.example.com,*.example.com + # Your domains (separated by commas) + - PROXIED=true + # Tell Cloudflare to cache webpages and hide your IP (optional) \ No newline at end of file