Compare commits
4 Commits
8326f052d9
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
7a12ee8851
|
|||
|
0768ea1edc
|
|||
| 7a3ada8303 | |||
| b928b55886 |
@@ -2,17 +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"
|
|
||||||
environment:
|
environment:
|
||||||
TZ: ${TZ}
|
TZ: ${TZ}
|
||||||
WEBPASSWORD: ${WEBPASSWORD}
|
WEBPASSWORD: ${WEBPASSWORD}
|
||||||
@@ -20,9 +13,7 @@ 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
|
|
||||||
- dns_internal
|
|
||||||
volumes:
|
volumes:
|
||||||
- pihole_data:/etc/pihole
|
- pihole_data:/etc/pihole
|
||||||
- ./pihole_dnsmasq:/etc/dnsmasq.d
|
- ./pihole_dnsmasq:/etc/dnsmasq.d
|
||||||
@@ -33,14 +24,10 @@ 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:
|
|
||||||
- dns_net
|
|
||||||
networks:
|
|
||||||
dns_net:
|
|
||||||
external: true
|
|
||||||
dns_internal:
|
|
||||||
external: true
|
|
||||||
volumes:
|
volumes:
|
||||||
pihole_data:
|
pihole_data:
|
||||||
pihole_dnsmasq:
|
pihole_dnsmasq:
|
||||||
|
|||||||
Reference in New Issue
Block a user