Skip to content

Synchronous Container Startup in Docker Compose

View on Twitter

💡 wait-for-it is a zero dependency bash script that waits until a service (eg. DB) is ready. It's better than depends_on in Compose because it actually waits for the process to be up, not just container.

You might also like
Secure Your VPS: Enable Automatic Updates Read tip
IaaS vs PaaS Explained Using a Store Analogy Read tip
Practice Algorithms and Data Structures in JavaScript Read tip