Fix pihole: use non-conflicting ports 5333 and 8080

This commit is contained in:
Kevin Douglas
2026-04-27 11:21:50 -04:00
parent 3ba96a0824
commit 991a7ff99c
+6 -5
View File
@@ -8,17 +8,18 @@ services:
container_name: pihole
restart: unless-stopped
environment:
- TZ=America/New_York # ← Change to your timezone
- WEBPASSWORD=ChangeThisToAStrongPassword!
- TZ=America/New_York
- WEBPASSWORD=xek7HTK_bhf_cpy_mnv
volumes:
- pihole_data:/etc/pihole
- dnsmasq_data:/etc/dnsmasq.d
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80/tcp" # Pi-hole Web UI
- "5333:53/tcp" # Changed host port
- "5333:53/udp" # Changed host port
- "8080:80/tcp" # Web UI on 8080
dns:
- 127.0.0.1
- 1.1.1.1
cap_add:
- NET_ADMIN
network_mode: bridge # Explicitly use default bridge