Compare commits
7 Commits
69bf4564dc
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
7a12ee8851
|
|||
|
0768ea1edc
|
|||
| 7a3ada8303 | |||
| b928b55886 | |||
| 8326f052d9 | |||
| 61c24f42eb | |||
| 69a58598f8 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -66,3 +66,5 @@ go.work.sum
|
||||
.env
|
||||
|
||||
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
|
||||
dnsmasq.d
|
||||
pihole_dnsmasq
|
||||
|
||||
@@ -2,37 +2,32 @@ services:
|
||||
pihole:
|
||||
image: pihole/pihole:latest
|
||||
container_name: pihole
|
||||
hostname: pihole
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "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"
|
||||
network_mode: host
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
WEBPASSWORD: ${WEBPASSWORD}
|
||||
PIHOLE_DNS_: ${PIHOLE_DNS_}
|
||||
DNSMASQ_LISTENING: all
|
||||
FTLCONF_dns_listeningMode: all
|
||||
networks:
|
||||
- dns_net
|
||||
FTLCONF_misc_etc_dnsmasq_d: 'true'
|
||||
FTLCONF_webserver_port: "18080o"
|
||||
volumes:
|
||||
- pihole_data:/etc/pihole
|
||||
- pihole_dnsmasq:/etc/dnsmasq.d
|
||||
|
||||
- ./pihole_dnsmasq:/etc/dnsmasq.d
|
||||
depends_on:
|
||||
- unbound
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
|
||||
networks:
|
||||
dns_net:
|
||||
external: true
|
||||
|
||||
unbound:
|
||||
image: mvance/unbound:latest
|
||||
container_name: unbound
|
||||
ports:
|
||||
- "127.0.0.1:5353:53/tcp"
|
||||
- "127.0.0.1:5353:53/udp"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
pihole_data:
|
||||
pihole_dnsmasq:
|
||||
|
||||
Reference in New Issue
Block a user