chore: Update docker-compose.yml

This commit is contained in:
LRVT 2024-08-25 13:59:05 +02:00 committed by GitHub
parent 8587024408
commit 8d5bbf0214
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,3 +22,16 @@ services:
cap_add: cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped restart: unless-stopped
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.pihole.rule=Host(`pihole.example.com`)
# - traefik.http.services.pihole.loadbalancer.server.port=80
# # Optional part for traefik middlewares
# - traefik.http.routers.pihole.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true