version: '2' services: bind: build: ./bind hostname: bind container_name: bind restart: always entrypoint: - /etc/bind/entrypoint.sh ports: - "53:53" - "53:53/udp" volumes: - ./bind:/etc/bind networks: bindnet: networks: bindnet: