pihole: make password configurable
This commit is contained in:
parent
7550be755c
commit
2a959e1a8d
@ -14,9 +14,14 @@ services:
|
|||||||
WEBPASSWORD: ${PI_HOLE_PASSWORD}
|
WEBPASSWORD: ${PI_HOLE_PASSWORD}
|
||||||
# Volumes store your data between container upgrades
|
# Volumes store your data between container upgrades
|
||||||
volumes:
|
volumes:
|
||||||
- './etc-pihole:/etc/pihole'
|
- 'pihole:/etc/pihole'
|
||||||
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
- 'dnsmasq:/etc/dnsmasq.d'
|
||||||
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
pihole: {}
|
||||||
|
dnsmasq: {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user