2023-02-15 21:45:31 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
adguard:
|
|
|
|
container_name: adguard
|
|
|
|
hostname: adguard
|
|
|
|
image: adguard/adguardhome:latest
|
|
|
|
ports:
|
2023-03-31 19:11:19 +00:00
|
|
|
- 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
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home/work:/opt/adguardhome/work
|
2024-02-15 21:52:37 +00:00
|
|
|
- ${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
|