mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-10 04:19:24 +02:00
25 lines
472 B
YAML
25 lines
472 B
YAML
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
|