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