diff --git a/bind-docker-compose.yml b/bind-docker-compose.yml new file mode 100644 index 0000000..ae86413 --- /dev/null +++ b/bind-docker-compose.yml @@ -0,0 +1,17 @@ +services: + bind9_slave: + image: ubuntu/bind9 + container_name: ${SERVER_NAME} + volumes: + - ${BIND_CONFIG}:/etc/bind/named.conf + - ${VOL_SLAVE_ZONES}:/var/lib/bind + ports: + - "53:53/tcp" + - "53:53/udp" + networks: + - dns_network + user: ${USER} + +networks: + dns_network: + driver: bridge \ No newline at end of file