How to make containers created with different Docker Compose files communicate to each other

Spencer Feng
2 min readMay 3, 2020

Docker Compose enables us to create and start all services from the configuration in a single YAML file and each container for a service can be reachable by other containers and discoverable by them at a hostname identical to the container name. Normally, different microservices for an application have their own repositories and each…

--

--