Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 527 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 527 Bytes

wait-for-http

Wait for some URL to return 200

With Docker image

$ docker run --rm ghcr.io/socialgouv/docker/wait-for-http http://my.app
Key Value Usage
WAIT_FOR_RETRIES 120 number of retries
WAIT_FOR_INTERVAL 5 wait between retries (seconds)
WAIT_FOR_URL $1 url to test, as env var or first argument