Added ddclient

This commit is contained in:
Andreas S. Turriff 2024-06-24 13:01:46 -07:00
parent cac48b49a1
commit 3ea3bc5e6e
3 changed files with 33 additions and 0 deletions

View File

@ -25,5 +25,7 @@ configs:
file: /home/<your user>/configs/config.production.json
traefik-config:
file: /home/<your user>/configs/traefik.toml
ddclient-config:
file: /home/<your user>/configs/ddclient.conf
services:

15
configs/ddclient.conf Normal file
View File

@ -0,0 +1,15 @@
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=your@email.address # mail all msgs to root
mail-failure=your@email.address # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
ssl=yes # use ssl-support. Works with
# ssl-library
usev4q=webv4, \ # find IP address via web
webv4=ipify-ipv4 # Use IPify's IPv4 address. These two work analog for IPv6
protocol=godaddy, \
login=<godaddy API token>, \
password=<godaddy API secret>, \
zone=your.domain, \
your.domain

16
ddclient.yaml Normal file
View File

@ -0,0 +1,16 @@
ddclient:
configs:
- source: ddclient-config
target: /config/ddclient.conf
deploy:
replicas: 1
environment:
PUID: 10020
PGID: 10020
TZ: Etc/UTC
image: "linuxserver/ddclient"
logging:
driver: journald
networks:
- homelab
restart: on-failure