Skip to content

Waits for a MySQL server to respond to requests before exiting.

License

Notifications You must be signed in to change notification settings

denniswebb/wait4mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Waits for a MySQL server to respond to requests before exiting.

Resources

License

Stars

Watchers

Forks

Packages

No packages published