Skip to content

Instantly share code, notes, and snippets.

@khongi
Created March 16, 2020 22:15
Show Gist options
  • Save khongi/4854819426fa6710c5851d9cc5a168ee to your computer and use it in GitHub Desktop.
Save khongi/4854819426fa6710c5851d9cc5a168ee to your computer and use it in GitHub Desktop.
Update cloudflare DNS via ddclient on docker
daemon=300
syslog=yes
ssl=yes
use=web
protocol=cloudflare, \
zone=<DOMAIN e.g. example.com>, \
ttl=0, \
login=<CLOUDFLARE LOGIN EMAIL>, \
password=<CLOUDFLARE GLOBAL API KEY> \
domain.com,otherdomain.com,sub.domain.com
version: "3.7"
services:
ddclient:
image: linuxserver/ddclient
container_name: ddclient
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Budapest
volumes:
- /path/to/ddclient/config/dir/:/config
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment