diff --git a/pihole.yaml b/pihole.yaml index e41b815..a3329c6 100644 --- a/pihole.yaml +++ b/pihole.yaml @@ -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