inside-server
inside-server copied to clipboard
Fix Docker problem
When we execute docker-compose up for the first time, the API container is having trouble to connect to the database because although the DB container is up the MySQL isn't. We need to find a way of creating the API container only after the MySQL is up.
Guys, I would like to work on this issue too, ok?
Sure! Go ahead!
@luisguilhermemaia I found this issue explaining about to wait mysql. In this case the link explain how to work with postgresql. Try to adapt your code for this situation above. https://docs.docker.com/compose/startup-order/