AdGuard Home In Docker on Gold?
Has anyone taken on this? Its a little beyond my technical skills and with everyone doing remote learning and work, I cant really take my router down experimenting. Id like to see a how to. I have to imagine its very similar to PiHole.
-
I used the same instructions as pihole and made a few modifications. Here is my docker compose :
version: "3"
# More info at https://github.com/r/adguard/adguardhome
services:
adguardhome:
container_name: adguardhome
image: adguard/adguardhome
volumes:
- '/data/adguardhome/work/:/opt/adguardhome/work'
- './adguardhome/conf/:/opt/adguardhome/conf'
restart: unless-stopped
networks:
default:
# static IP address for adguardhome
ipv4_address: 192.168.20.2
networks:
default:
driver: bridge
ipam:
config:
# your chosen docker network here
- subnet: 192.168.20.0/24
And here is my post up script :
sudo systemctl start docker
sudo ipset create -! docker_lan_routable_net_set hash:net
sudo ipset add -! docker_lan_routable_net_set 192.168.20.0/24
sudo ipset create -! docker_wan_routable_net_set hash:net
sudo ipset add -! docker_wan_routable_net_set 192.168.20.0/24
sudo systemctl start docker-compose@adguardhomeDo note that I am using different subnet for mine (192.168.20.0/24 instead of 172.16.0.0/24)
Working well for me. Initial setup goes through port 3000, as per adguard home github .
-
@marino
I did this as well but left the ip's as standard for the Pi-hole install beta instructions. I have it working perfectly. Note- Inside the setup menu if you enable encryption DOT/DOH and then use cloudflare DOH/DOT servers in the list of upstream servers, You will connect DOH and DOT for dns requests leaving your network. DNSSEC flag turned on will enable DNSSEC with cloudflare DNS servers.
Please sign in to leave a comment.
Comments
4 comments