For the record - google was not a great help here. The commonly suggested soln (adding the explicit ip to the port definition in pihole) did not work for me, however adding a explicit dns record in the node-red service of the docker compose file worked.
For anyone who has a similar issue
dns:
- 192.168.2.50
Thx again