This commit is contained in:
2026-05-09 09:01:27 +02:00
parent b928b55886
commit 7a3ada8303

View File

@@ -6,13 +6,14 @@ services:
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- .env - .env
ports: # ports:
- "127.0.0.1:53:53/tcp" # - "127.0.0.1:53:53/tcp"
- "127.0.0.1:53:53/udp" # - "127.0.0.1:53:53/udp"
- "${WG_GUEST_IP}:53:53/tcp" # - "${WG_GUEST_IP}:53:53/tcp"
- "${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"
network_mode: host
environment: environment:
TZ: ${TZ} TZ: ${TZ}
WEBPASSWORD: ${WEBPASSWORD} WEBPASSWORD: ${WEBPASSWORD}
@@ -20,9 +21,10 @@ 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: "8080o"
- proxy_net # networks:
- dns_net # - proxy_net
# - dns_net
volumes: volumes:
- pihole_data:/etc/pihole - pihole_data:/etc/pihole
- ./pihole_dnsmasq:/etc/dnsmasq.d - ./pihole_dnsmasq:/etc/dnsmasq.d
@@ -33,14 +35,17 @@ services:
unbound: unbound:
image: mvance/unbound:latest image: mvance/unbound:latest
container_name: unbound container_name: unbound
ports:
- "127.0.0.1:5353:53/tcp"
- "127.0.0.1:5353:53/udp"
restart: unless-stopped restart: unless-stopped
networks: # networks:
- dns_net # - dns_net
networks: #networks:
proxy_net: # proxy_net:
external: true # external: true
dns_net: #dns_net:
external: true # external: true
volumes: volumes:
pihole_data: pihole_data:
pihole_dnsmasq: pihole_dnsmasq: