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