-
-
Notifications
You must be signed in to change notification settings - Fork 273
/
docker-compose.yml
36 lines (34 loc) · 1.17 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
services:
adguard:
image: adguard/adguardhome:latest
container_name: adguard
hostname: adguard
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