Update pihole.yaml

This commit is contained in:
2026-06-28 21:23:03 -05:00
parent 927c0115bd
commit 9a5caf0653
+14 -2
View File
@@ -17,10 +17,22 @@ services:
FTLCONF_dns_listeningMode: 'ALL' # required so Pi-hole listens on the macvlan network. You will not be able to change 'Listen on all interfaces, permit all origins' in the UI
IGNORE_LOCALHOST: 'true' # Ignore container's own queries in logs
FTLCONF_dhcp_ipv6: 'false'
FTLCONF_webserver_api_password: {WEB_PWD} #API password (works for API calls)
FTLCONF_webserver_api_password: ${WEB_PWD} #API password (works for API calls)
WEBPASSWORD: ${WEB_PWD}
labels:
- homepage.group=Network
- homepage.name=Pihole
- homepage.icon=pihole.png
- homepage.href=h${PIHOLE_URL}
- homepage.description=Media server
- homepage.widget.type=emby
- homepage.widget.url=${PIHOLE_URL}
- homepage.widget.key=${WEB_PWD}
- homepage.widget.version=6
- homepage.widget.fields=["queries", "blocked", "blocked_percent", "gravity"]
- dockhand.url=${PIHOLE_URL}
volumes:
- /srv/docker/server/pihole:/etc/pihole
- /srv/docker/network/pihole:/etc/pihole
cap_add:
- NET_ADMIN
- CAP_SYS_TIME