# Self-host AdGuard Home

> Network-wide ad and tracker blocking with a DNS server and a friendly admin dashboard.

- Page: https://levelrail.com/templates/adguard-home/
- JSON: https://levelrail.com/templates/adguard-home.json
- Category: Infrastructure
- Licence: GPL-3.0 (Copyleft license)
- Source: https://github.com/AdguardTeam/AdGuardHome
- Upstream docs: https://github.com/AdguardTeam/AdGuardHome/wiki/Docker

## Requirements
- Memory: about 128 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: v0.107.55

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| adguard | adguard/adguardhome | v0.107.55 | 3000 | adguard_work -> /opt/adguardhome/work; adguard_conf -> /opt/adguardhome/conf |

## Deploy

### CLI

```bash
levelrail-cli templates deploy adguard-home --name my-adguard-home
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/adguard-home/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy AdGuard Home on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id adguardhome for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image adguard/adguardhome:v0.107.55 is what you deploy there.

Self-host AdGuard Home, AdGuard Home docker compose file, deploy AdGuard Home on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
