Update DDNS at Domain-DNS.com
This is only useful if you have your DNS at Domain-DNS.com, which is only an option if you use BareMetal.com as your domain register.
For the URL you want to update, there will be a "Remote IP Key" listed.
Then, supply the needed environmental varaibles in your docker-compose.yaml
file:
ddns:
image: minchinweb/ddns
restart: unless-stopped
environment:
- PUID=${PUID}
- PGID=${PGID}
- DDNS_DOMAIN_NAME=<<your domain name>
- DDNS_KEY=<<Remote IP Key>>
volumes:
- /etc/localtime:/etc/localtime:ro
Adding localtime as a volume will make the timestamps on your log files match
your host timezone.
Then, on start up and about every 5 minutes afterwards, the IP address of your server will be checked. If it's the same as it was before, nothing happens; if it's changes, an update request is submitted.
or, What Problems is This Trying to Solve?
I have a dynamic IP address and a URL for my Docker server. Automation seems like the smart way to keep the URL pointing to that IP address, even if that IP address changes.
This is based on my Python base image.
Content type
Image
Digest
Size
72.4 MB
Last updated
over 5 years ago
docker pull minchinweb/ddns