mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-03-31 06:24:00 -04:00
36 lines
839 B
YAML
36 lines
839 B
YAML
version: "3.7"
|
|
services:
|
|
ddns-updater:
|
|
image: ghcr.io/qdm12/ddns-updater
|
|
container_name: ddns-updater
|
|
network_mode: bridge
|
|
ports:
|
|
- 8000:8000/tcp
|
|
volumes:
|
|
- ./data:/updater/data
|
|
environment:
|
|
- CONFIG=
|
|
- PERIOD=5m
|
|
- UPDATE_COOLDOWN_PERIOD=5m
|
|
- PUBLICIP_FETCHERS=all
|
|
- PUBLICIP_HTTP_PROVIDERS=all
|
|
- PUBLICIPV4_HTTP_PROVIDERS=all
|
|
- PUBLICIPV6_HTTP_PROVIDERS=all
|
|
- PUBLICIP_DNS_PROVIDERS=all
|
|
- PUBLICIP_DNS_TIMEOUT=3s
|
|
- HTTP_TIMEOUT=10s
|
|
|
|
# Web UI
|
|
- LISTENING_ADDRESS=:8000
|
|
- ROOT_URL=/
|
|
|
|
# Backup
|
|
- BACKUP_PERIOD=0 # 0 to disable
|
|
- BACKUP_DIRECTORY=/updater/data
|
|
|
|
# Other
|
|
- LOG_LEVEL=info
|
|
- LOG_CALLER=hidden
|
|
- SHOUTRRR_ADDRESSES=
|
|
restart: always
|