mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-03 13:21:49 +02:00
update pihole
This commit is contained in:
parent
57dc27ed77
commit
e73c9e249f
@ -4,7 +4,7 @@ pihole
|
|||||||
The [Pi-hole®][1] is a DNS sinkhole that protects your devices from unwanted
|
The [Pi-hole®][1] is a DNS sinkhole that protects your devices from unwanted
|
||||||
content, without installing any client-side software.
|
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/
|
- https://hub.docker.com/r/pihole/pihole/
|
||||||
|
|
||||||
[1]: https://pi-hole.net/
|
[1]: https://pi-hole.net/
|
||||||
|
@ -1,24 +1,14 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
services:
|
services:
|
||||||
pihole:
|
pihole:
|
||||||
image: pihole/pihole:4.3.2-1_armhf
|
image: pihole/pihole:release-v4.3.4-armhf
|
||||||
ports:
|
ports:
|
||||||
- 53:53/tcp
|
- "53:53/udp"
|
||||||
- 53:53/udp
|
- "80:80/tcp"
|
||||||
- 67:67/udp
|
|
||||||
- 80:80/tcp
|
|
||||||
- 443:443/tcp
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/pihole:/etc/pihole
|
- ./data/pihole:/etc/pihole
|
||||||
- ./data/dnsmasq.d:/etc/dnsmasq.d
|
- ./data/dnsmasq.d:/etc/dnsmasq.d
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
- WEBPASSWORD=******
|
- WEBPASSWORD=******
|
||||||
- DNS1=8.8.8.8
|
|
||||||
- DNS2=no
|
|
||||||
dns:
|
|
||||||
- 127.0.0.1
|
|
||||||
- 1.1.1.1
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user