mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-10 11:10:27 +02:00
20 lines
366 B
YAML
20 lines
366 B
YAML
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
|