With this container you can create and update dyndns thanks to domain-connect-dyndns.
You have to mount a config volume to this container.
The default path for the config within the container is: /config
The container has two actions:setup: With this action you can create the domain-connect-dyndns's configuration,
You need to pass the domain name variable → DOMAIN
This action is interactive, because you've to pass the access token by cli
Example:
docker run -it --rm --name dyndns-setup -v ~/config:config -e DOMAIN=example.org rdcarrera/domain-connect-dyndns setup
*** domain-connect-dyndns 0.0.9 ***
Please open
https://*********
and provide us the access code:
update: With this action the container execute in loop the update option of the domain-connect-dyndns
This is the default action defined inside the Dockerfile.
Example:
docker run -d --name dyndns-setup -v ~/config:config rdcarrera/domain-connect-dyndns
- CONFIG: The volume where keep the settings file.
- CONFIG_PATH [Default value: /config] : The config path inside the container.
- CONFIG_FILE [Default value: settings.txt] : The configuration file.
- DOMAIN [Default value: null] : The domain to keep up to date.
- SLEEP_TIME [Default value: 120] : The time to wait between loop's iteration
- DOCKER_USER [Default value: user] : The user within the container who execute the action.