Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Current
In the getting started tutorial, we create the following docker-compose.yml to start the app with mysql:
When running this with
docker-compose up -f, the container for the todo application fails.To reproduce the error, run
docker-compose upas specified in the tutorial. On some computer, the timeout of 15000ms is reached before the mysql container is fully initialized.Suggestions
It seems that the app container does not wait long enough for the mysql container to be fully initialized as said in the documentation for mysql container:
The app container should wait long enough for the mysql container to be fully running and have a longer timeout or no timeout