Skip to content

Instantly share code, notes, and snippets.

@johnroyer
Last active January 2, 2025 13:31
Show Gist options
  • Save johnroyer/063c08dbc97dd6646223a80d6e2ce227 to your computer and use it in GitHub Desktop.
Save johnroyer/063c08dbc97dd6646223a80d6e2ce227 to your computer and use it in GitHub Desktop.
AdGuard docker-compose.yaml
# BUGGY
# This make docker host resolvd failed
# see: https://github.com/angristan/wireguard-install/issues/458
services:
adguard:
image: adguard/adguardhome:latest
restart: unless-stopped
volumes:
- ./data/work:/opt/adguardhome/work
- ./data/conf:/opt/adguardhome/conf
networks:
- mydns
ports:
# DNS server
# please read if your resolved is running:
# https://hub.docker.com/r/adguard/adguardhome#resolved-daemon
- 53:53/tcp
- 53:53/udp
# DHCP server
#- 67:67/udp
#- 68:68/udp
# Admin Pannel
- 80:80/tcp
#- 443:443/tcp
#- 443:443/udp
# initial config page
- 3000:3000/tcp
# DNS-over-TLS
#- 853:853/tcp
# DNS-over-QUIC
#- 784:784/udp
# DNSCrypt
#- 5443:5443/tcp
#- 5443:5443/udp
networks:
mydns:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment