Compare commits
11 Commits
257aadc895
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
7a12ee8851
|
|||
|
0768ea1edc
|
|||
| 7a3ada8303 | |||
| b928b55886 | |||
| 8326f052d9 | |||
| 61c24f42eb | |||
| 69a58598f8 | |||
| 69bf4564dc | |||
| 659709a2e9 | |||
| 943994bd73 | |||
| b09ea468cb |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -66,3 +66,5 @@ go.work.sum
|
|||||||
.env
|
.env
|
||||||
|
|
||||||
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
|
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
|
||||||
|
dnsmasq.d
|
||||||
|
pihole_dnsmasq
|
||||||
|
|||||||
@@ -2,27 +2,32 @@ 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
|
||||||
- "53:53/tcp"
|
|
||||||
- "53:53/udp"
|
|
||||||
- "${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'
|
||||||
|
FTLCONF_webserver_port: "18080o"
|
||||||
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
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:5353:53/tcp"
|
||||||
|
- "127.0.0.1:5353:53/udp"
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
pihole_data:
|
pihole_data:
|
||||||
pihole_dnsmasq:
|
pihole_dnsmasq:
|
||||||
|
|||||||
Reference in New Issue
Block a user