Added pihole DNS over HTTPS (not tested)
This commit is contained in:
parent
1566d7ed81
commit
30691accf6
|
@ -0,0 +1,42 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
cloudflared:
|
||||
container_name: cloudflared
|
||||
image: visibilityspots/cloudflared:amd64
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
pihole_net:
|
||||
ipv4_address: 10.0.0.2
|
||||
|
||||
pi-hole:
|
||||
container_name: pi-hole
|
||||
image: pihole/pihole:v4.2.1_amd64
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80/tcp"
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
environment:
|
||||
- ServerIP=10.0.0.3
|
||||
- DNS1='10.0.0.2#5054'
|
||||
- DNS2=''
|
||||
- IPv6=false
|
||||
- TZ=CEST-2
|
||||
- DNSMASQ_LISTENING=all
|
||||
- WEBPASSWORD=<change>
|
||||
networks:
|
||||
pihole_net:
|
||||
ipv4_address: 10.0.0.3
|
||||
dns:
|
||||
- 127.0.0.1
|
||||
- 1.1.1.1
|
||||
cap_add"
|
||||
- NET_ADMIN
|
||||
|
||||
networks:
|
||||
pihole_net:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 10.0.0.0/29
|
Loading…
Reference in New Issue