Self-host AdGuard Home with Docker
Network-wide ad and tracker blocking with a DNS server and a friendly admin dashboard.
This page describes the Levelrail template for AdGuard Home (Infrastructure). It deploys the services below as one Docker Compose app on your own server.
Project site: https://github.com/AdguardTeam/AdGuardHome/wiki/Docker.Recommended memory: about 128 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
adguard | adguard/adguardhome:v0.107.55 | 3000 | adguard_work -> /opt/adguardhome/workadguard_conf -> /opt/adguardhome/conf |
Environment variables
This template sets no environment variables.
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Deploy AdGuard Home with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select AdGuard Home. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy adguard-home --name my-adguard-homeSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Infrastructure templates
All templates are listed in the self-host gallery.