pihole: make password configurable
This commit is contained in:
parent
7550be755c
commit
2a959e1a8d
@ -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: {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user