Hey guys I have a strange problem with using multiple containers in docker-compose.
Adding additional containers slows down communication between them tremendously, later on some of them even "dissapear" (i.e. when trying to connect to them i get a 400
randomly).
I've removed the application from compose and just left there the microservices. I run the app manually after starting the compose (which maps the ports to localhost) and when using it like that those problems dissapear (at least the disseapering of the services).
When talking about the slowdown I made a test - I've just made the app (inside compose) communicate with one microservice (inside compose). Then after adding microservices that weren't used (there was no communication with them) just the fact of adding them to compose slowed down the communication between the app and microservice used lik 5-6x times when adding a few of them.
I'm using Mac - any idea what could be causing this? My coworker has identical problems (he also uses Mac).