clarified scripts logic for compose startup order

changed 'note' to 'tip'

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
Victoria Bialas 2017-03-09 11:59:37 -08:00
parent 0e5a7842e9
commit ec7774f46c
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ script:
db:
image: postgres
>**Tip:** There are limitations to this first solution; e.g., it doesn't verify when specific service is really ready. If you add more arguments to the command, you'll need to use the `bash shift` command with a loop, as shown in the next example.
- Alternatively, write your own wrapper script to perform a more application-specific health
check. For example, you might want to wait until Postgres is definitely
ready to accept commands: