Docker network: How to set up access to a DB in another container (172...) and network devices in my home network (192.168.178.0)

My docker network (on a ubuntu server with IP 192.168.178.6) uses the address range 172…

Now I have openHAB running in a docker container, connected to a MariaDB running in another container.
This works without problem.
But now I need access from the openHAB container (172.22.0.3) to my network devices with 192.168.178.x

What do I have to configure on the docker/container side and where?

Thanks a lot for your help.