mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
8a7f732f2f
add missing traefik labels
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
adguard:
|
|
container_name: adguard
|
|
hostname: adguard
|
|
image: adguard/adguardhome:latest
|
|
ports:
|
|
- 3000:3000/tcp # only required during initial setup
|
|
- 8080:80/tcp # web interface after setup
|
|
- 53:53/tcp # dns
|
|
- 53:53/udp # dns
|
|
# - 67:67/udp # dhcp
|
|
# - 68:68/tcp # dhcp
|
|
# - 68:68/udp # dhcp
|
|
# - 784:784/udp # dns-over-quic
|
|
# - 853:853/tcp # dns over tls
|
|
# - 853:853/udp # dns over tls
|
|
# - 5443:5443/tcp # dnscrypt
|
|
# - 5443:5443/udp # dnscrypt
|
|
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
|
|
#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
|