File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ services:
17
17
devices :
18
18
- /dev/net/tun
19
19
20
+ # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
20
21
pihole :
21
22
container_name : pihole
22
23
image : pihole/pihole:latest
@@ -27,13 +28,11 @@ services:
27
28
ipv4_address : 172.20.0.2
28
29
environment :
29
30
TZ : " Europe/Berlin"
30
- WEBPASSWORD : " password"
31
- DNS1 : 1.1.1.1 # Cloudflare
32
- DNS2 : 8.8.8.8 # Google
33
- ServerIP : 172.20.0.2
31
+ FTLCONF_webserver_api_password : " password"
32
+ FTLCONF_dns_listeningMode : " all"
33
+ FTLCONF_dns_upstreams : " 1.1.1.1;8.8.8.8" # Cloudflare and Google
34
34
volumes :
35
- - ./pihole/pihole:/etc/pihole
36
- - ./pihole/dnsmasq.d:/etc/dnsmasq.d
35
+ - ' ./pihole/pihole:/etc/pihole'
37
36
cap_add :
38
37
- NET_ADMIN
39
38
restart : unless-stopped
You can’t perform that action at this time.
0 commit comments