I have a mongo instance running in a container named
mongo1 that has exposed port 27017.
I can connect just fine from the host.
I have another container that is running an application that wants to connect to the mongo instance.
How can I connect the 2 containers so that the hostname
mongo1 is exposed to the other container and it can connect to