Sync the minimal docker-compose examples. Remove note about pihole.log, it isn't neccasery (https://github.com/pi-hole/docker-pi-hole/issues/809)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2022-01-09 19:04:19 +00:00
parent c6e859723c
commit 2fb2202a17
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
2 changed files with 2 additions and 4 deletions

View File

@ -18,6 +18,7 @@ services:
pihole: pihole:
container_name: pihole container_name: pihole
image: pihole/pihole:latest image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"

View File

@ -19,10 +19,7 @@ services:
volumes: volumes:
- './etc-pihole:/etc/pihole' - './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d' - './etc-dnsmasq.d:/etc/dnsmasq.d'
# run `touch ./var-log/pihole.log` first unless you like errors
# - './var-log/pihole.log:/var/log/pihole.log'
# Recommended but not required (DHCP needs NET_ADMIN)
# 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 - NET_ADMIN
restart: unless-stopped restart: unless-stopped # Recommended but not required (DHCP needs NET_ADMIN)