This is a wrapper around https://github.com/bensquire/Digital-Ocean-Dynamic-DNS-Updater
It gives you a simple way to have a Docker container running somewhere in your network to keep a DNS record updated at DigitalOcean DNS servers.
Log into your DigitalOcean account and go to the API section. Get yourself an API token.
Save it preciously. Do. Not. Commit. It. Anywhere. Public.
There is two way to start the container:
Copy config.sh.sample to config.sh. Edit it to your needs.
Start Docker with the config file:
docker run -it --rm --env-file config.sh bcaron/digitalocean-dyn-dns-updater
Copy docker-compose.yml to docker-compose.yml. Edit to you needs. Start it:
docker-compose up -d
Make sure your container IS running.
docker ps
Look at the logs:
docker logs dyn-dns-updater
make build