Docker Compose: how to wait for the MySQL server container to be ready?

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • wait-for-it

    Pure bash script to test and wait on the availability of a TCP host and port

  • python:3.10.5-slim-buster is a Debian GNU/Linux 10 (buster). Follow the Debian package link given by wait-for-it, we'll eventually find this link https://packages.debian.org/source/oldoldstable/wait-for-it, I downloaded the wait-for-it_0.0~git20160501.orig.tar.gz file and extracted wait-for-it.sh out to the project root directory where setup.py, app.py, .dockerignore, Dockerfile and docker-compose.yml are.

  • Wait4X

    Wait4X allows you to wait for a port or a service to enter the requested state.

  • Further Googling, I found this Docker document Control startup and shutdown order in Compose, whereby several tools are recommended to implement the waiting, among them are wait-for-it and Wait4X.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Docker Compose

    Define and run multi-container applications with Docker

  • https://docs.docker.com/compose/ -- an overview of Compose.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Single docker compose stack on multiple hosts. But how?

    2 projects | /r/docker | 10 Dec 2023
  • How to Deploy a Multi Container Docker Compose Application On Amazon EC2

    5 projects | dev.to | 15 Mar 2023
  • docker rollout - Zero Downtime Deployment for docker-compose

    2 projects | /r/docker | 7 Feb 2023
  • Devcontainers without VSCode

    2 projects | /r/docker | 6 Jan 2023
  • How to containerize your Go app in 10 minutes!

    2 projects | /r/golang | 22 Jul 2022