I've been running pihole on a cocker container on my Synology for a few years. I haven't changed any firewall rules. I haven't changed the YAML configuration.
All the files in my pihole volume are still intact.
After a recent upgrade, however, I am getting a connection refused when I try to access the pihole backend (HTTP://10.0.0.5:8001)
I've tried deleting the container and the image and rebuilding everything from a fresh pull. I've checked and double-checked the firewall rules.
I can still access portainer from HTTP://10.0.0.5:9000 and I can see that the container is running.
I just can't access the web interface from multiple browsers on multiple computers and cannot figure out why I cannot access the web interface.
Here is my configuration
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
environment:
TZ: 'America/New_York'
WEBPASSWORD: '******'
ServerIP: '10.0.0.5'
WEB_PORT: '8001'
DNS1: '1.1.1.1'
DNS2: '1.0.0.1'
DNSMASQ_LISTENING: 'local'
# Volumes store your data between container upgrades
volumes:
- '/volume1/docker/pihole/pihole:/etc/pihole'
- '/volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- NET_ADMIN
restart: unless-stopped
network_mode: host