1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-03-23 21:19:24 +02:00

update pihole-arm

This commit is contained in:
kev 2019-10-28 07:57:35 +08:00
parent 7a2be93ddc
commit 32a80c9b5f
2 changed files with 29 additions and 20 deletions

View File

@ -1,6 +1,10 @@
pihole pihole
====== ======
- https://pi-hole.net/ 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://github.com/pi-hole/pi-hole/wiki
- https://hub.docker.com/r/pihole/pihole/ - https://hub.docker.com/r/pihole/pihole/
[1]: https://pi-hole.net/

View File

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