From 2a959e1a8d33df11a4843aa20d35f6f549f8d0af Mon Sep 17 00:00:00 2001 From: Schneider Roland Date: Fri, 4 Oct 2024 19:12:18 +0200 Subject: [PATCH] pihole: make password configurable --- pihole/docker-compose/pihole/docker-compose.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pihole/docker-compose/pihole/docker-compose.yaml b/pihole/docker-compose/pihole/docker-compose.yaml index 724853b..685642a 100644 --- a/pihole/docker-compose/pihole/docker-compose.yaml +++ b/pihole/docker-compose/pihole/docker-compose.yaml @@ -14,9 +14,14 @@ services: WEBPASSWORD: ${PI_HOLE_PASSWORD} # Volumes store your data between container upgrades volumes: - - './etc-pihole:/etc/pihole' - - './etc-dnsmasq.d:/etc/dnsmasq.d' + - 'pihole:/etc/pihole' + - 'dnsmasq:/etc/dnsmasq.d' # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities cap_add: - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed restart: unless-stopped + + +volumes: + pihole: {} + dnsmasq: {}