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)