
pihole on UgreenNAS
So after spending 2 hours trying to get Pihole to work due to port conflicts, and all searching telling me I needed MacVLAN or bridge mode, or telling me to ssh into my nas and disable Ugreen DNS on 53, I stumbled on this answer that worked (for me). Posting here just in case this is helpful!
Now, where do we get the best curated lists to add to pihole?
On to Tailscale setup :)
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
hostname: pihole
dns:
- 1.1.1.1# This line fixes the Code 137 crash i kept getting
ports:
- "[nas local ip]:53:53/tcp"
- "[nas local ip]:53:53/udp"
- "8088:80/tcp"
- "8443:443/tcp"
environment:
TZ: 'America/New_York'
FTLCONF_webserver_api_password: 'YourSecurePasswordHere'
FTLCONF_dns_listeningMode: 'all'
FTLCONF_dns_upstreams: '1.1.1.1;1.0.0.1'
volumes:
- /volume2/docker/pihole/etc-pihole:/etc/pihole
restart: unless-stopped