Compare commits

5 Commits

Author SHA1 Message Date
7a12ee8851 hostfinnished 2026-05-18 20:51:48 +02:00
0768ea1edc fix 2026-05-18 20:46:17 +02:00
7a3ada8303 stash 2026-05-09 09:01:27 +02:00
b928b55886 frominternaltohostbranch 2026-05-09 08:28:13 +02:00
8326f052d9 piholennetworkisolatfromtherestofthewebservices 2026-05-08 22:41:14 +02:00

View File

@@ -2,18 +2,10 @@ services:
pihole: pihole:
image: pihole/pihole:latest image: pihole/pihole:latest
container_name: pihole container_name: pihole
hostname: pihole
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- .env - .env
ports: network_mode: host
- "127.0.0.1:53:53/tcp"
- "127.0.0.1:53:53/udp"
- "${WG_GUEST_IP}:53:53/tcp"
- "${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: environment:
TZ: ${TZ} TZ: ${TZ}
WEBPASSWORD: ${WEBPASSWORD} WEBPASSWORD: ${WEBPASSWORD}
@@ -21,22 +13,21 @@ services:
DNSMASQ_LISTENING: all DNSMASQ_LISTENING: all
FTLCONF_dns_listeningMode: all FTLCONF_dns_listeningMode: all
FTLCONF_misc_etc_dnsmasq_d: 'true' FTLCONF_misc_etc_dnsmasq_d: 'true'
networks: FTLCONF_webserver_port: "18080o"
- dns_net
- proxy_net
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:
networks: image: mvance/unbound:latest
dns_net: container_name: unbound
external: true ports:
proxy_net: - "127.0.0.1:5353:53/tcp"
external: true - "127.0.0.1:5353:53/udp"
restart: unless-stopped
volumes: volumes:
pihole_data: pihole_data:
pihole_dnsmasq: pihole_dnsmasq: