32 lines
837 B
YAML
32 lines
837 B
YAML
services:
|
|
# Cloudflare DDNS - Dynamic DNS Updater
|
|
ddns-updater:
|
|
image: qmcgaw/ddns-updater
|
|
container_name: ddns-updater
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: unless-stopped
|
|
profiles: ["core", "all"]
|
|
networks:
|
|
- default
|
|
ports:
|
|
- "$DDNSUPDATER_PORT:8000"
|
|
volumes:
|
|
- $DOCKERDIR/appdata/ddns-updater:/updater/data # Owned by UID 1000
|
|
environment:
|
|
TZ: $TZ
|
|
PUID: $PUID
|
|
PGID: $PGID
|
|
PERIOD: 12h
|
|
UPDATE_COOLDOWN_PERIOD: 5m
|
|
PUBLICIP_DNS_TIMEOUT: 3s
|
|
HTTP_TIMEOUT: 10s
|
|
# Web UI
|
|
LISTENING_PORT: 8000
|
|
# Backup
|
|
BACKUP_PERIOD: 96h # 0 to disable
|
|
BACKUP_DIRECTORY: /updater/data/backups
|
|
# Other
|
|
LOG_LEVEL: info
|
|
# SHOUTRRR_ADDRESSES: $DISCORD_SHOUTRRR_ADDRESS
|
|
# DOCKER-LABELS-PLACEHOLDER |