version: "3" services: bind: container_name: bind restart: always build: . volumes: - ./named.conf:/etc/bind/named.conf - ./zones:/etc/bind/zones - ./scripts:/scripts ports: - "53:53/udp"