AdGuard Home is a powerful, network-wide solution for blocking ads and online trackers. Instead of installing software on each individual device, you set it up once on your network, for example on a Raspberry Pi. It then automatically protects every device connected to your Wi-Fi, including computers, smartphones, smart TVs, and other IoT gadgets. It operates as your personal DNS server, rerouting malicious traffic and giving you complete control over your home network.
This approach provides several key benefits:
services:
adguardhome:
image: adguard/adguardhome
container_name: adguardhome
restart: unless-stopped
# Ports mapping.
# Note: Port 53 is required for DNS. You may need to disable systemd-resolved on Ubuntu hosts.
# Note: Port 67/68 are for DHCP. Network mode 'host' is recommended for DHCP.
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "68:68/tcp"
- "68:68/udp"
- "80:80/tcp"
- "443:443/tcp"
- "443:443/udp"
- "3000:3000/tcp"
- "853:853/tcp"
- "784:784/udp"
- "853:853/udp"
- "8853:8853/udp"
- "5443:5443/tcp"
- "5443:5443/udp"
volumes:
- ./work:/opt/adguardhome/work
- ./conf:/opt/adguardhome/conf# No sensitive environment variables are required for the standard AdGuard Home setup.
# Configuration is handled via the web interface on port 3000 initially.Auto-fetched 19 minutes ago
Auto-fetched 19 minutes ago