Accessing services on the Docker host

You can access services on the host by using the host IP as you would on any server. Or if you want to access services listening on a loopback IP only

But we had another (I believe) similar topic where @meyay explained what the recommended solution would be. You don’t need t duplicate, especially not in every container since every container should run a single main process which can create more.But in the long term, you can try to run the other services in containers too. Depending on those services of course.