A super simple CLI that - given a database url - will wait for that database to become available.
-
Download the latest version of dw for your OS from the Releases page.
-
Extract the binary:
tar -xvf dw_YOUR_OS.tar.gz- Move the binary to your PATH.
dw "DATABASE_CONNECTION_STRING"dw will continually attempt to connect to the database until it achieves a connection, at which point it will terminate with a successfully exit code.