From e8dd40ef15b9b2c6559870caa992838c6f5da255 Mon Sep 17 00:00:00 2001 From: "Julius W." Date: Thu, 16 Jul 2026 16:34:07 +0200 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b07240f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3.8' + +services: + bind9: + build: . + container_name: bind9-dns + ports: + - "53:53/udp" + - "53:53/tcp" + volumes: + - bind9_data:/etc/bind:ro + - bind9_cache:/var/named/data + restart: unless-stopped + cap_drop: + - ALL + cap_add: + - NET_BIND_SERVICE + +volumes: + bind9_cache: + bind9_data: \ No newline at end of file