summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-20 10:35:09 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-11-20 10:35:09 -0500
commit8d954f67a39f31bf54421c0c74b1d7946de3ecd7 (patch)
tree0daa769a35825f77ea915cdf7910a21e6b0c5ce2
parentad1d6c0332310dcd0cc03f282bd8926d19558900 (diff)
Add Cloudflare Dynamic DNS
-rw-r--r--docker-compose.yml9
-rw-r--r--template.env2
2 files changed, 11 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 7042715..cc1d07a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -198,6 +198,15 @@ services:
- 8191:8191
restart: unless-stopped
+ dyndns:
+ image: mxmlndml/cloudflare-dynamic-dns:latest
+ environment:
+ - "API_KEY=${CLOUDFLARE_TOKEN}"
+ - "ZONE_ID=${CLOUDFLARE_ZONE}"
+ - "DOMAIN_NAMES=${DOMAIN}"
+ - "RECORD_TYPES=A"
+ - "INTERVAL=5"
+
networks:
highseas:
driver: bridge
diff --git a/template.env b/template.env
index c48995a..55f2d2e 100644
--- a/template.env
+++ b/template.env
@@ -1,6 +1,8 @@
# Traefik Info (you will need to set your email in ./configs/traefik/traefik.yaml)
+EMAIL=
DOMAIN=
CLOUDFLARE_TOKEN=
+CLOUDFLARE_ZONE_ID=
# Where you want your TV Shows on your computer
TV_DIR=
# Where you want your Movies on your computer