From 704d827a2ca8af1d4767c2cbf8ee9cf54d5e5812 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 4 Mar 2024 16:25:23 +0000 Subject: Initial commit --- compose.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 compose.yaml (limited to 'compose.yaml') diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..c366fcb --- /dev/null +++ b/compose.yaml @@ -0,0 +1,23 @@ +version: "3" + +services: + bind9: + networks: + - macvlan-net + container_name: bind9-dns-server + image: ubuntu/bind9:latest + environment: + - BIND9_USER=root + - TX=Europe/London + ports: + - "192.168.1.10:53:53/udp" + - "192.168.1.10:53:53/tcp" + volumes: + - ./config:/etc/bind + - ./cache:/var/cache/bind + - ./records:/var/lib/bind + restart: unless-stopped +networks: + macvlan-net: + external: true + name: custommacvlan -- cgit v1.2.3