Update docker-compose.yml

add missing traefik labels
This commit is contained in:
LRVT 2024-02-15 22:52:37 +01:00 committed by GitHub
parent e141c95a99
commit 8a7f732f2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,4 +21,17 @@ services:
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home/work:/opt/adguardhome/work
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home/conf:/opt/adguardhome/conf
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home/conf:/opt/adguardhome/conf
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.adguard.rule=Host(`dns.example.com`)
# - traefik.http.services.adguard.loadbalancer.server.port=8080
# # Optional part for traefik middlewares
# - traefik.http.routers.adguard.middlewares=local-ipwhitelist@file,authelia@docker
#networks:
# proxy:
# external: true