version: '3.8'
services:
ddns-updater:
image: qmcgaw/ddns-updater:latest
container_name: hetzner-dyndns
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- ./data:/updater/data
environment:
- PERIOD=${PERIOD:-5m}
- LOG_LEVEL=${LOG_LEVEL:-info}
- TZ=Europe/Berlin
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8000/"]
interval: 1m
timeout: 10s
retries: 3
start_period: 30s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"