Sign inSign up

ellerbrock/alpine-cloudflare-dyndns

By ellerbrock

Updated almost 7 years ago

Cloudflare DNS Updater

Image
6

100K+

ellerbrock/alpine-cloudflare-dyndns repository overview

docker

alpine-cloudflare-dyndns

Docker Automated Build Docker Pulls Quay StatusOpen Source Love Gitter Chat

Installation

docker pull ellerbrock/alpine-cloudflare-dyndns

About the Container

As Base Image i use Alpine Linux which is lightweight Distribution with a small surface area for security concerns, but with enough functionality for development and interactive debugging.

To prevent zombie reaping processes i run dumb-init as PID 1 which forwards signals to all processes running in the container.

Parameter

  • EXTERNAL_IP: optional, if not set it uses the current external ip addr
  • CF_EMAIL: required, your cloudflare login email
  • CF_TOKEN: required, your cloudflare api key (you can find it under Settings -> API Key -> Global API Key)
  • CF_ZONE_NAME required, your root domain name (eg. example.tld)
  • CF_DOMAIN_NAME required, your domain or subdomain name you want to update (eg. subdomain.example.tld)

How to use

docker run -it \
  -e EXTERNAL_IP=OPTIONAL-YOUR-IP \
  -e CF_EMAIL=REQUIRED-YOUR-CLOUDFLARE-EMAIL \
  -e CF_TOKEN=REQUIRED-YOUR-CLOUDFLARE-API-KEY \
  -e CF_ZONE_NAME=REQUIRED-YOUR-CLOUDFLARE-ZONE-NAME \
  -e CF_DOMAIN_NAME=REQUIRED-YOUR-DOMAIN-OR-SUBDOMAIN-NAME-TO-UPDATE \
ellerbrock/alpine-cloudflare-dyndns

or via docker-compose up (define your configuration in the .env file)

Contact / Social Media

Get the latest News about Web Development, Open Source, Tooling, Server & Security

GithubDockernpmTwitterFacebookGoogle+Gitter

Tag summary

Content type

Image

Digest

Size

4.7 MB

Last updated

almost 7 years ago

docker pull ellerbrock/alpine-cloudflare-dyndns