From 2fb2202a17ce68964966175e4a1c0beae30519fa Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 9 Jan 2022 19:04:19 +0000 Subject: [PATCH] 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 --- README.md | 1 + docker-compose.yml.example | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index be2cc7e..3e9ea9e 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ services: pihole: container_name: pihole image: pihole/pihole:latest + # For DHCP it is recommended to remove these ports and instead add: network_mode: "host" ports: - "53:53/tcp" - "53:53/udp" diff --git a/docker-compose.yml.example b/docker-compose.yml.example index 98a70b4..f52e184 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -19,10 +19,7 @@ services: volumes: - './etc-pihole:/etc/pihole' - './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 cap_add: - NET_ADMIN - restart: unless-stopped + restart: unless-stopped # Recommended but not required (DHCP needs NET_ADMIN)