docker-compose/pi-hole.yaml

15 lines
345 B
YAML

version: "3"
services:
pi_hole:
container_name: pi-hole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "314:80/tcp"
environment:
- WEBPASSWORD=
volumes:
- <docker directory>/pi-hole:/etc/pihole
- <docker directory>/pi-hole/dns:/etc/dnsmasq.d
restart: unless-stopped