Create docker-compose.yml

This commit is contained in:
LRVT 2023-02-17 18:01:32 +01:00 committed by GitHub
parent e17ed592d2
commit 9564efcf16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
version: "3"
services:
cloudflare-ddns:
image: favonia/cloudflare-ddns:latest
container_name: cloudflare-ddns
#network_mode: host
restart: always
cap_drop:
- all
read_only: true
security_opt:
- no-new-privileges:true
environment:
- PGID=1000
- PUID=1000
- CF_API_TOKEN=YOUR-CLOUDFLARE-API-TOKEN # pls adjust
- DOMAINS=example.org,www.example.org,example.io # pls adjust; a list of fully qualified domain names separated by commas
- PROXIED=true # instructs Cloudflare to cache webpages on your machine and hide its actual IP addresses