I have npm as well, but I couldn't set pihole together with it.
I mean, I can have both containers running if I change pihole ip for something different (let's say 8081),but then I'm not able to use it as a dns server in my router.
How did you fix this? Or do you have pihole in a different computer? (ip)