Docker build of a Cloudflare DDNS client using their example code
Go to file
Ian Fijolek 1cb69ad575
All checks were successful
continuous-integration/drone/push Build is passing
Drop to nobody from root
2019-06-03 16:00:31 -07:00
.dockerignore Working commit 2019-03-05 11:16:45 -08:00
.drone.yml Add multiarch building from Drone 2019-03-10 18:09:12 -07:00
.gitignore Add multiarch building from Drone 2019-03-10 18:09:12 -07:00
Dockerfile Drop to nobody from root 2019-06-03 16:00:31 -07:00
get_qemu.sh Add multiarch building from Drone 2019-03-10 18:09:12 -07:00
LICENSE Initial commit 2019-03-05 19:15:08 +00:00
Makefile Add multiarch building from Drone 2019-03-10 18:09:12 -07:00
manifest.tmpl Add multiarch building from Drone 2019-03-10 18:09:12 -07:00
README.md Working commit 2019-03-05 11:16:45 -08:00
requirements.txt Working commit 2019-03-05 11:16:45 -08:00
start.sh Switch from bash to sh 2019-03-11 09:11:29 -07:00
update_ddns.py Working commit 2019-03-05 11:16:45 -08:00

Docker Cloudfare DDNS

Simple Docker image to dynamically update a Cloudflare DNS record.

Usage

All parameters are passed to the script using env variables, so export the following:

DOMAIN=sub.example.com
CF_API_EMAIL=admin@example.com
CF_API_KEY=00000000000000000000

Then run. To execute from this directory, you can use the convenient Make target.

make run

Development

The script is straight from the examples provided by Cloudflare on their Github. The latest version can be downloaded using:

make update