Last active
February 1, 2023 01:38
-
-
Save tartakynov/7f72f2456a25442b4089a75b37462a1e to your computer and use it in GitHub Desktop.
PiHole docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
services: | |
pihole: | |
container_name: pihole | |
image: pihole/pihole:latest | |
environment: | |
- TZ=America/Toronto | |
volumes: | |
- /media/usb/pihole/pihole:/etc/pihole | |
- /media/usb/pihole/dnsmasq.d:/etc/dnsmasq.d | |
- /etc/localtime:/etc/localtime:ro | |
restart: unless-stopped | |
ports: | |
- "53:53/tcp" | |
- "53:53/udp" | |
- "7080:80/tcp" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment