Skip to content

Commit

Permalink
Bump to 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoscout committed Jan 18, 2019
1 parent 24c7105 commit a7b36a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FROM alpine
ADD MySuperApp.sh /MySuperApp.sh

## Add the wait script to the image
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.4.0/wait /wait
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.5.0/wait /wait
RUN chmod +x /wait

## Launch the wait tool and then your application
Expand Down Expand Up @@ -59,7 +59,7 @@ services:
WAIT_HOSTS: postgres:5432, mysql:3306, mongo:27017
```
When docker-compose is started (or docker stack), your application will be started only when all the pairs host:port in the WAIT_HOSTS variable are available.
When docker-compose is started (or Kubernetes or docker stack or whatever), your application will be started only when all the pairs host:port in the WAIT_HOSTS variable are available.
The WAIT_HOSTS environment variable is not mandatory, if not declared, the script executes without waiting.
# Additional configuration options
Expand All @@ -73,4 +73,4 @@ The behaviour of the wait utility can be configured with the following environme
# Notes
This utility was explicitly written to be used with docker-compose; however, it can be used everywhere since it has no dependencies on docker.
Version 2.0.0 was rewritten from scratch in [rust](https://www.rust-lang.org). One of the positive consequences is that it does not rely on external tools (e.g netcat) as the previous versions.
Version 2.0.0 was rewritten from scratch in [rust](https://www.rust-lang.org). One of the many positive consequences is that it does not rely on external tools (e.g netcat) as the previous versions.

0 comments on commit a7b36a4

Please sign in to comment.