From 646c2ee40961720af5d34a4c37cda9332ef9d107 Mon Sep 17 00:00:00 2001 From: andreas Date: Fri, 14 Mar 2025 21:04:48 +0000 Subject: [PATCH] =?UTF-8?q?docker-compose.yaml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..e2fb8fc --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,44 @@ +services: + unbound: + image: mvance/unbound:latest + container_name: unbound + restart: unless-stopped + labels: + - "com.centurylinklabs.watchtower.enable=true" + volumes: + - '/volume1/docker/unbound/unbound.conf:/etc/unbound/unbound.conf' + networks: + bridge_network: + ipv4_address: 172.18.0.2 + + pihole: + image: pihole/pihole:latest + container_name: pihole + environment: + TZ: 'Europe/Berlin' + WEBPASSWORD: "ino4!xul" + PIHOLE_DNS_1: 172.18.0.2 + labels: + - "com.centurylinklabs.watchtower.enable=true" + volumes: + - '/volume1/docker/pihole/etc/pihole:/etc/pihole' + - '/volume1/docker/pihole/etc/dnsmasq.d:/etc/dnsmasq.d' + restart: unless-stopped + networks: + pihole_network: + ipv4_address: 192.168.1.249 + bridge_network: + +networks: + pihole_network: + driver: macvlan + driver_opts: + parent: ovs_eth0 + ipam: + config: + - subnet: 192.168.1.0/24 + gateway: 192.168.1.1 + bridge_network: + ipam: + config: + - subnet: 172.18.0.0/24 \ No newline at end of file