Compare commits

3 Commits

Author SHA1 Message Date
8326f052d9 piholennetworkisolatfromtherestofthewebservices 2026-05-08 22:41:14 +02:00
61c24f42eb wildcard 2026-04-06 15:33:00 +02:00
69a58598f8 dnsmasq 2026-04-06 15:17:37 +02:00
2 changed files with 15 additions and 5 deletions

2
.gitignore vendored
View File

@@ -66,3 +66,5 @@ go.work.sum
.env .env
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b >>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
dnsmasq.d
pihole_dnsmasq

View File

@@ -13,26 +13,34 @@ services:
- "${WG_GUEST_IP}:53:53/udp" - "${WG_GUEST_IP}:53:53/udp"
- "${WG_ADMIN_IP}:53:53/tcp" - "${WG_ADMIN_IP}:53:53/tcp"
- "${WG_ADMIN_IP}:53:53/udp" - "${WG_ADMIN_IP}:53:53/udp"
- "${WG_ADMIN_IP}:${PIHOLE_WEB_PORT}:80"
environment: environment:
TZ: ${TZ} TZ: ${TZ}
WEBPASSWORD: ${WEBPASSWORD} WEBPASSWORD: ${WEBPASSWORD}
PIHOLE_DNS_: ${PIHOLE_DNS_} PIHOLE_DNS_: ${PIHOLE_DNS_}
DNSMASQ_LISTENING: all DNSMASQ_LISTENING: all
FTLCONF_dns_listeningMode: all FTLCONF_dns_listeningMode: all
FTLCONF_misc_etc_dnsmasq_d: 'true'
networks: networks:
- dns_net - dns_net
- dns_internal
volumes: volumes:
- pihole_data:/etc/pihole - pihole_data:/etc/pihole
- pihole_dnsmasq:/etc/dnsmasq.d - ./pihole_dnsmasq:/etc/dnsmasq.d
depends_on:
- unbound
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
unbound:
image: mvance/unbound:latest
container_name: unbound
restart: unless-stopped
networks:
- dns_net
networks: networks:
dns_net: dns_net:
external: true external: true
dns_internal:
external: true
volumes: volumes:
pihole_data: pihole_data:
pihole_dnsmasq: pihole_dnsmasq: