Sign inSign up

vtacquet/rpi-wait

By vtacquet

•Updated almost 9 years ago

Wait until the service in another container is ready (for Raspberry Pi)

Image
0

1.1K

vtacquet/rpi-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):

mysqldb:
  image: hypriot/rpi-mysql
  environment:
    - MYSQL_ROOT_PASSWORD: vincerules

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

containerX:
  links: 
    - wait

Tag summary

Content type

Image

Digest

Size

706.6 kB

Last updated

almost 9 years ago

docker pull vtacquet/rpi-wait