version: '3'
services:
  ddns:
    image: w3kllc/ddns:latest
    restart: unless-stopped
    environment:
      DDNS_ADMIN_LOGIN: 'admin:$$3$$abcdefg'
      DDNS_DOMAINS: 'dyndns.example.com'
      DDNS_PARENT_NS: 'ns.example.com'
      DDNS_DEFAULT_TTL: '3600'
    ports:
      - "53:53"
      - "53:53/udp"
      - "8080:8080"
    volumes:
       - ./bind-data:/var/cache/bind
       - ./database:/root/database
