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
======
- 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://hub.docker.com/r/pihole/pihole/
[1]: https://pi-hole.net/

View File

@ -1,19 +1,24 @@
pihole:
image: pihole/pihole:v4.0_armhf
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 80:80/tcp
- 443:443/tcp
volumes:
- ./data/pihole:/etc/pihole
- ./data/dnsmasq.d:/etc/dnsmasq.d
environment:
- ServerIP=10.0.0.195
- WEBPASSWORD=random
- DNS1=8.8.8.8
- DNS2=no
cap_add:
- NET_ADMIN
restart: unless-stopped
version: "3.7"
services:
pihole:
image: pihole/pihole:4.3.2-1_armhf
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 80:80/tcp
- 443:443/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