1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

update pihole

This commit is contained in:
kev 2020-02-25 21:43:26 +08:00
parent 57dc27ed77
commit e73c9e249f
2 changed files with 4 additions and 14 deletions

View File

@ -4,7 +4,7 @@ pihole
The [Pi-hole®][1] is a DNS sinkhole that protects your devices from unwanted
content, without installing any client-side software.
- https://github.com/pi-hole/pi-hole/wiki
- https://docs.pi-hole.net/
- https://hub.docker.com/r/pihole/pihole/
[1]: https://pi-hole.net/

View File

@ -1,24 +1,14 @@
version: "3.7"
services:
pihole:
image: pihole/pihole:4.3.2-1_armhf
image: pihole/pihole:release-v4.3.4-armhf
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 80:80/tcp
- 443:443/tcp
- "53:53/udp"
- "80:80/tcp"
volumes:
- ./data/pihole:/etc/pihole
- ./data/dnsmasq.d:/etc/dnsmasq.d
environment:
- TZ=Asia/Shanghai
- WEBPASSWORD=******
- DNS1=8.8.8.8
- DNS2=no
dns:
- 127.0.0.1
- 1.1.1.1
cap_add:
- NET_ADMIN
restart: unless-stopped