piholennetworkisolatfromtherestofthewebservices

This commit is contained in:
2026-05-08 22:41:14 +02:00
parent 61c24f42eb
commit 8326f052d9

View File

@@ -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: