homeserver/dyndns/docker-compose.yml
2026-06-27 20:35:49 +02:00

30 lines
No EOL
658 B
YAML

name: dyndns
services:
ddns-updater:
container_name: ddns-updater
environment:
- PERIOD=${DDNS_PERIOD}
- UPDATE_COOLDOWN=${DDNS_COOLDOWN}
- TZ=${TZ}
image: qmcgaw/ddns-updater:latest
restart: ${RESTART_POLICY}
volumes:
- type: bind
source: ${DDNS_DATA_PATH}
target: /updater/data
bind:
create_host_path: true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
ports:
- "8000:8000"
network_mode: host
hostname: ddns-updater
cpu_shares: 90
deploy:
resources:
limits:
memory: 15841M