← Back to all

AdGuard Home

Estimated

Network-wide ad and tracker blocking for every device in the house, TVs included.

ReplacesNextDNS Pro ($20/yr)
Memory footprint50 MB idle · 120 MB peak
Architecturesamd64 / arm64
LicenseGPL-3.0 · Easy

Watch out

Port 53 often clashes with systemd-resolved or the NAS DNS service. And if the NAS reboots, the whole house loses DNS — set a fallback.

Zero-open-port Compose snippet

Includes mem_limit and 127.0.0.1 binding. Open in Planner to combine with Tailscale/Cloudflare & .env.

# Generated by NASPicks (https://naspicks.com/planner/)
# Hardware: UGREEN NASync DXP2800 (8 GB, ugos) | Peak est: 0.1 GB / 6.7 GB
# Zero-open-port default: web ports bind to 127.0.0.1 and are reached via tailscale.
# Every service includes mem_limit (peak x 1.2) to help prevent host OOM freezes.

services:
  adguardhome:
    image: adguard/adguardhome:v0.107.59
    container_name: adguardhome
    restart: unless-stopped
    mem_limit: 192m
    ports:
      # DNS (53) needs LAN reachability so devices can query it; web UI stays local
      - "${LAN_IP}:53:53/tcp"
      - "${LAN_IP}:53:53/udp"
      - "127.0.0.1:3000:3000/tcp"
      - "127.0.0.1:8083:80/tcp"
    volumes:
      - ${DATA_DIR}/adguard/work:/opt/adguardhome/work
      - ${DATA_DIR}/adguard/conf:/opt/adguardhome/conf
    networks:
      - naspicks

networks:
  naspicks:
    driver: bridge

Comments (GitHub Discussions)

GitHub Discussions ↗

Comments load lazily to keep pages fast everywhere.