Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 725 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 725 Bytes

wait4mysql

Waits on a MySQL container to become available before exiting.

Description

Run this container while linked to a MySQL container to cause automation scripts to pause until MySQL is ready.

Example

docker run -d --name mysql -e MYSQL_ROOT_PASSWORD=my-secret mysql
docker run --link mysql dhwebb/wait4mysql

Environment Variables

You can pass in the following environment variables: HOST, PORT, USERNAME, PASSWORD, TIMEOUT.