pihole: add proxy entry

This commit is contained in:
Schneider Roland 2024-10-06 11:36:36 +02:00
parent 0a82253710
commit 3cde6d8a35

View File

@ -1,6 +1,10 @@
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services: services:
pihole: pihole:
labels:
- traefik.http.routers.pihole.rule=Host(`pihole.rschneider.net`)
- traefik.http.routers.pihole.tls=true
- traefik.http.services.pihole.loadbalancer.server.port=80
container_name: pihole container_name: pihole
image: pihole/pihole:latest image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host" # For DHCP it is recommended to remove these ports and instead add: network_mode: "host"