Added ddclient
This commit is contained in:
parent
cac48b49a1
commit
3ea3bc5e6e
2
aaa.yaml
2
aaa.yaml
@ -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
15
configs/ddclient.conf
Normal 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
16
ddclient.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user