Created
February 27, 2023 11:41
-
-
Save kryachkov/80a41947b95d0969b9be4128147965fc to your computer and use it in GitHub Desktop.
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" | |
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
services: | |
cloudflared: | |
container_name: cloudflared | |
image: cloudflare/cloudflared:2023.2.1 | |
command: "proxy-dns --address 0.0.0.0 --port 5053 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query" | |
pihole: | |
container_name: pihole | |
image: pihole/pihole:2023.02.2 | |
ports: | |
- "53:53/tcp" | |
- "53:53/udp" | |
- "8080:80/tcp" | |
environment: | |
TZ: 'UTC' | |
PIHOLE_DNS_: 'cloudflared#5053' | |
DNSSEC: 'true' | |
WEBPASSWORD: 'passw0rd' | |
volumes: | |
- './etc-pihole:/etc/pihole' | |
- './etc-dnsmasq.d:/etc/dnsmasq.d' | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment