version: "3"
services:
cloudflare-ddns:
image: favonia/cloudflare-ddns:latest
network_mode: host
# This makes IPv6 easier; see below
restart: always
# Restart the updater after reboot
cap_add:
- SETUID
# Capability to change user ID; needed for using PUID
- SETGID
# Capability to change group ID; needed for using PGID
cap_drop:
- all
# Drop all other capabilities
read_only: true
# Make the container filesystem read-only
security_opt:
- no-new-privileges:true
# Another protection to restrict superuser privileges
environment:
- PUID=1000
# Run the updater with user ID 1000
- PGID=1000
# Run the updater with group ID 1000
- CF_API_TOKEN=*hpUTOA2ijnc9jkkLLM_QUSFDXCaZbDq-0ACfaLTY
# Your Cloudflare API token
- DOMAINS=*.*.eu.org
# Your domains (separated by commas)
- PROXIED=false
# Tell Cloudflare to cache webpages and hide your IP
版权归属:
管理员
许可协议:
本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权
评论区