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 image: pihole/pihole:latest
hostname: pi-hole hostname: pi-hole
mac_address: d0:ca:ab:cd:ef:01 mac_address: d0:ca:ab:cd:ef:01
cap_add: # cap_add: # Uncomment if you want to use Pi-Hole for DHCP
- NET_ADMIN # - NET_ADMIN
ports: ports:
- 443/tcp - 443/tcp
- 53/tcp - 53/tcp
- 53/udp - 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 - 80/tcp
- 22/tcp - 22/tcp
environment: environment: