Skip to main content

Installation

The service can be installed through the Portainer web interface. 

Learn about creating a new stack.

Docker Compose

Use the following code to install the service:

---
services:
  adguard:
    image: adguard/adguardhome:latest
    network_mode: bridge
    dns:
     - 1.1.1.1
    ports:
      - 3333:3000
      - 53:53/tcp
      - 53:53/udp
      - 67:67/udp
      - 88:80
      - 853:853
    volumes:
      # Persistent Data
      - /srv/adguard/data:/opt/adguardhome/work
      - /srv/adguard/conf:/opt/adguardhome/conf
    restart: unless-stopped