Fix traefik: Gateway timeout

This commit is contained in:
GHOSCHT 2022-08-28 11:57:22 +02:00
parent 320fb1bf44
commit e8d6137ce7
No known key found for this signature in database
GPG key ID: A35BD466B8871994

View file

@ -3,6 +3,7 @@ version: '2'
services: services:
pihole: pihole:
container_name: pihole container_name: pihole
hostname: pihole
image: pihole/pihole image: pihole/pihole
volumes: volumes:
- pihole_dnsmasq:/etc/dnsmasq.d - pihole_dnsmasq:/etc/dnsmasq.d
@ -16,7 +17,6 @@ services:
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
- 8420:80
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
networks: networks:
@ -28,6 +28,7 @@ services:
- traefik.http.routers.pihole.entrypoints=web - traefik.http.routers.pihole.entrypoints=web
- traefik.http.routers.pihole.rule=Host(`pihole.franz.local`) - traefik.http.routers.pihole.rule=Host(`pihole.franz.local`)
- traefik.http.services.pihole.loadbalancer.server.port=80 - traefik.http.services.pihole.loadbalancer.server.port=80
- traefik.docker.network=traefik-net
unbound: unbound:
container_name: unbound container_name: unbound