I am trying to build tests with containers on separated networks, but that can communicate with each other.
The test is built with :
- A "server" network with two containers (postgres, api server)
- A "client" network with one container (other api server)
The tests will call the "other api server", but the "other api server" can't communicate with the "first api server" yet... (Connection refused)
How can I get the good "host:port" I should give to "other api server" to access "first api server" ?