homelab/server/config/ddns/docker-compose.yml

41 lines
982 B
YAML

version: "3"
services:
cloudflare:
image: oznu/cloudflare-ddns
container_name: ddns_cloudflare
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
environment:
- API_KEY=9DFsEwqVGRvcvKcpU7v5tORYIj-BmTJ-7zHonskl
- ZONE=jafner.net
- SUBDOMAIN=*
labels:
- traefik.enable=false
ddclient:
image: linuxserver/ddclient
container_name: ddns_ddclient
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- ${DOCKER_DATA}/ddclient:/config
labels:
- traefik.enable=false