Please consider to alter your post to contain your docker-compose directly. That will make it easier for others to understand my references to it, and it would prevent that information to be lost completely if your external link target expires, get's deleted or changed.
Your docker-compose configuration shows you are not running your container in host mode, as the respective option is commented out.
Also note that Docker's port mapping is not in effect in host mode, as the conatiner directly shares the ports of its host then.
Accordingly, for your choice of port 8089, you may have to consider Pi-hole's WEB_PORT
environment variable instead to address potential conflicts over port 80 on your host machine.
The following section from our Docker documentation may apply:
In
2022.01
and later, the defaultDNSMASQ_USER
has been changed topihole
, however this may cause issues on some systems such as Synology, see Issue #963 for more information.If the container wont start due to issues setting capabilities, set
DNSMASQ_USER
toroot
in your environment.