Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare DDNS Deployment

This repository deploys the favonia/cloudflare-ddns Docker container. It automatically updates the Cloudflare DNS record with the current public IP address of the homelab.

Prerequisites

  • A working Docker host.
  • A Cloudflare API Token with Zone.DNS.Edit and Zone.Zone.Read permissions for the target domain.

Deployment

  1. Prepare the deployment directory:
sudo mkdir -p /opt/cloudflare-ddns
sudo chown $USER:$USER /opt/cloudflare-ddns
cd /opt/cloudflare-ddns

# Clone this repository
git clone git@github.com:sdrwtf-labs/cloudflare-ddns-deployment.git .
  1. Configure the environment variables:
cp .env.example .env

Edit the .env file and provide your real Cloudflare API token.

  1. Start the service:
docker compose up -d
  1. Verify the logs to ensure the IP was updated successfully:
docker compose logs -f cloudflare-ddn

About

cloudflare-ddns setup

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors