Update docker-compose.yaml

Commenting NET_ADMIN in default config

Only needed for DHCP
This commit is contained in:
Chris Crowe 2020-12-29 11:19:33 -08:00 committed by GitHub
parent a3f90a9549
commit cade44a923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,13 +6,13 @@ services:
image: pihole/pihole:latest
hostname: pi-hole
mac_address: d0:ca:ab:cd:ef:01
cap_add:
- NET_ADMIN
# cap_add: # Uncomment if you want to use Pi-Hole for DHCP
# - NET_ADMIN
ports:
- 443/tcp
- 53/tcp
- 53/udp
# - 67/udp # Uncomment if you want to use Pi-Hole for DHCP
# - 67/udp # Uncomment if you want to use Pi-Hole for DHCP
- 80/tcp
- 22/tcp
environment: