version: "3.3" services: bind: image: ${REGISTRY:-registry.sdsys.ru}/bind:${BINDTAG:-latest} ports: - 53:53 - 53:53/UDP deploy: replicas: 1 resources: limits: memory: 300M reservations: memory: 50M volumes: - bind:/var/lib/bind configs: - source: named.conf target: /etc/bind/named.conf volumes: bind: driver: local driver_opts: device: "/dev/disk/by-label/bind" type: "xfs" configs: named.conf: file: ./config/named.conf networks: proxy: external: true