From 8326f052d9fb7abeb2350586baaa3636a3113484 Mon Sep 17 00:00:00 2001 From: Tord-Vincent Heggland Date: Fri, 8 May 2026 22:41:14 +0200 Subject: [PATCH] piholennetworkisolatfromtherestofthewebservices --- docker-compose.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index ad6191e..007c045 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -13,7 +13,6 @@ services: - "${WG_GUEST_IP}:53:53/udp" - "${WG_ADMIN_IP}:53:53/tcp" - "${WG_ADMIN_IP}:53:53/udp" - - "${WG_ADMIN_IP}:${PIHOLE_WEB_PORT}:80" environment: TZ: ${TZ} WEBPASSWORD: ${WEBPASSWORD} @@ -23,20 +22,25 @@ services: FTLCONF_misc_etc_dnsmasq_d: 'true' networks: - dns_net - - proxy_net + - dns_internal volumes: - pihole_data:/etc/pihole - ./pihole_dnsmasq:/etc/dnsmasq.d - + depends_on: + - unbound cap_add: - NET_ADMIN - + unbound: + image: mvance/unbound:latest + container_name: unbound + restart: unless-stopped + networks: + - dns_net networks: dns_net: external: true - proxy_net: + dns_internal: external: true - volumes: pihole_data: pihole_dnsmasq: