Docker build of a Cloudflare DDNS client using their example code
Go to file
IamTheFij 650e2e488d
continuous-integration/drone/push Build is passing Details
Only build master
2019-03-10 18:07:36 -07:00
.dockerignore Working commit 2019-03-05 11:16:45 -08:00
.drone.yml Only build master 2019-03-10 18:07:36 -07:00
.gitignore Add drone pipeline 2019-03-10 18:01:31 -07:00
Dockerfile Updated 2019-03-08 16:44:47 -08:00
LICENSE Initial commit 2019-03-05 19:15:08 +00:00
Makefile Add drone pipeline 2019-03-10 18:01:31 -07:00
README.md Working commit 2019-03-05 11:16:45 -08:00
get_qemu.sh Add drone pipeline 2019-03-10 18:01:31 -07:00
manifest.tmpl Add drone pipeline 2019-03-10 18:01:31 -07:00
requirements.txt Working commit 2019-03-05 11:16:45 -08:00
start.sh Working commit 2019-03-05 11:16:45 -08:00
update_ddns.py Working commit 2019-03-05 11:16:45 -08:00

README.md

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