Sign inSign up

fabianmp/wait-for

By fabianmp

•Updated about 4 years ago

Image
0

532

fabianmp/wait-for repository overview

⁠wait-for

Simple wrapper Docker container around wait-for script⁠ to wait for another service to become available.

⁠Usage

Use the following environment variables to configure the behavior:

VariableDescriptionDefault value
TARGETService address to wait forhttps://www.google.de⁠
TIMEOUTSeconds to wait before aborting the request0 (wait forever)

For more information check the original documentation⁠.

⁠Examples

Wait for PostgreSQL database server on host postgres:

docker run -e TARGET="postgres:5432" fabianmp/wait-for:latest

Wait for ten seconds for HTTP service at myhost to be reachable:

docker run -e TARGET="http://myhost" -e TIMEOUT=10 fabianmp/wait-for:latest

Tag summary

Content type

Image

Digest

sha256:0bacc59e5…

Size

2.7 MB

Last updated

about 4 years ago

docker pull fabianmp/wait-for