Aisle Home & network

AdGuard Home

Block ads on your whole network.

docker-compose generator (French)Official documentation

What is it for?

AdGuard Home blocks ads and trackers for every device at home (TV, phones, consoles) by filtering DNS requests. It also offers parental controls.

Who is it for?

Households who want fewer ads and less tracking on all their devices.

Good to know

Install it on a server at home (Raspberry Pi…), never on a public VPS: an open DNS on the Internet gets abused for attacks.

After installing

  1. Open http://SERVER_IP:3000 for the wizard (keep the interface on port 80).
  2. Then set the server IP as DNS in your internet router.

The docker-compose

Example behind Traefik. To adapt it (Nginx Proxy Manager, local port…) with a line-by-line explanation, use the generator (in French).

# docker-compose.yml : AdGuard Home
services:
  adguard:
    image: adguard/adguardhome:latest
    container_name: adguard
    restart: unless-stopped
    environment:
      TZ: Europe/Paris
    volumes:
      - ./work:/opt/adguardhome/work
      - ./conf:/opt/adguardhome/conf
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "3000:3000/tcp"
    networks:
      - traefik
    labels:
      - traefik.enable=true
      - traefik.http.routers.adguard.rule=Host(`dns.mydomain.com`)
      - traefik.http.routers.adguard.entrypoints=websecure
      - traefik.http.routers.adguard.tls.certresolver=letsencrypt
      - traefik.http.services.adguard.loadbalancer.server.port=80

networks:
  traefik:
    external: true