# AdGuard Home — DNS + filtering (host network, poort 53 + web UI).
# Config: apps/adguard/config/AdGuardHome.yaml → /volume1/docker/Configs/adguard/

services:
  adguard:
    image: adguard/adguardhome:latest
    container_name: Adguard
    restart: always
    network_mode: host
    volumes:
      - ${ADGUARD_CONFIG_DIR:-/volume1/docker/Configs/adguard}:/opt/adguardhome/conf
      - adguard-work:/opt/adguardhome/work
    command:
      - --no-check-update
      - -c
      - /opt/adguardhome/conf/AdGuardHome.yaml
      - -w
      - /opt/adguardhome/work

volumes:
  adguard-work:
