-
-
Save os555/ade4e85e2f066cf78b28f2e7bb48b5b5 to your computer and use it in GitHub Desktop.
Pi-Hole Docker Compose
This file contains hidden or 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" | |
| services: | |
| pihole: | |
| container_name: pihole | |
| image: pihole/pihole:latest | |
| ports: | |
| - "53:53/tcp" | |
| - "53:53/udp" | |
| - "67:67/udp" | |
| - "80:80/tcp" | |
| - "443:443/tcp" | |
| environment: | |
| TZ: 'Asia/Bangkok' | |
| WEBPASSWORD: 'i-love-kotchasan' | |
| volumes: | |
| - './etc-pihole/:/etc/pihole/' | |
| - './etc-dnsmasq.d/:/etc/dnsmasq.d/' | |
| dns: | |
| - 127.0.0.1 | |
| - 1.1.1.1 | |
| cap_add: | |
| - NET_ADMIN | |
| restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment