Created
May 13, 2020 15:05
-
-
Save derekgottlieb/268020b4a6e4f0f5194ebf905ef73847 to your computer and use it in GitHub Desktop.
pihole with cloudflare DNS over HTTPS
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" | |
services: | |
pihole: | |
container_name: pihole | |
domainname: docker | |
hostname: pihole | |
image: pihole/pihole:beta-v5.0 | |
dns: | |
- 127.0.0.1 | |
- 1.1.1.1 | |
network_mode: host | |
restart: unless-stopped | |
volumes: | |
- /home/pi/docker-compose/pihole/docker/pihole/pihole:/etc/pihole | |
cap_add: | |
- NET_ADMIN | |
environment: | |
- ServerIP=192.168.1.5 | |
- TZ=PST | |
- WEBPASSWORD=<changeme> | |
- DNS1='127.0.0.1#5053' | |
- DNS2='' | |
cloudflared: | |
container_name: cloudflared | |
domainname: docker | |
image: visibilityspots/cloudflared | |
network_mode: host | |
restart: unless-stopped | |
environment: | |
- PORT=5053 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment