Merge pull request #23 from favonia/eliminate-puid

Update security settings of favonia/cloudflare-ddns
This commit is contained in:
LRVT 2024-07-28 02:35:29 +02:00 committed by GitHub
commit 21c3fca2fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,16 +5,15 @@ services:
container_name: cloudflare-ddns container_name: cloudflare-ddns
#network_mode: host #network_mode: host
restart: always restart: always
user: "1000:1000"
cap_drop: cap_drop:
- all - all
read_only: true read_only: true
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
environment: environment:
- PGID=1000
- PUID=1000
- CF_API_TOKEN=YOUR-CLOUDFLARE-API-TOKEN # pls adjust - 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 - DOMAINS=example.org,www.example.org,example.io # pls adjust; a list of fully qualified domain names separated by commas
- PROXIED=false # instructs Cloudflare to cache webpages on your machine and hide its actual IP addresses - PROXIED=false # if true, instructs Cloudflare to cache webpages on your machine and hide its actual IP addresses
- TZ=Europe/Berlin - TZ=Europe/Berlin
- IP6_PROVIDER=none # disbale IPv6 - IP6_PROVIDER=none # disbale IPv6