Cloudflare DDNS Script
Go to file
2019-01-22 13:12:50 +01:00
.gitignore Code 2019-01-22 12:37:36 +01:00
.sample.env Removed padding 2019-01-22 13:03:25 +01:00
docker-compose.yml container name and from image 2019-01-22 13:03:56 +01:00
Dockerfile Capitalize dockerfile 2019-01-22 12:43:57 +01:00
README.md docs for getting the key 2019-01-22 13:12:50 +01:00
run.sh better logging 2019-01-22 13:04:02 +01:00

Docker DDNS Cloudflare

This container is an adapted version of this script.

Quickstart 🚀

  1. Get yout api token here (Top right -> My Profile -> Scroll Down -> Global Api Key)

  2. Create an .env file:

EMAIL=my@mail.com
KEY=my_api_key
ZONE=example.org
DNS_RECORD=some.example.org
  1. Run the container
docker run -d --name ddns --restart always --env-file .env cupcakearmy/ddns-cloudflare

To check logs:

docker logs ddns

Docker-Copmose

With docker-compose:

git clone https://github.com/CupCakeArmy/docker-ddns-cloudflare.git
cp .sample.env .env
# Edit the .env file with your data
docker-compose up -d