Sign inSign up

vtacquet/wait

By vtacquet

•Updated almost 9 years ago

Wait until the service in another container is ready.

Image
0

1.1K

vtacquet/wait repository overview

Usage: use environment variables WAIT_HOST and WAIT_PORT to wait until a service in another container is ready.

Example (docker-compose):

mariadb:
  image: mariadb
  environment:
    - MYSQL_ROOT_PASSWORD: vincerules

wait:
  image: vtacquet/wait
  links:
    - mariadb
  environment:
    - WAIT_HOST=mariadb
    - WAIT_PORT=3306

containerX:
  links: 
    - wait

Tag summary

Content type

Image

Digest

Size

698.8 kB

Last updated

almost 9 years ago

docker pull vtacquet/wait