Skip to content

Commit

Permalink
clarified scripts logic for compose startup order
Browse files Browse the repository at this point in the history
changed 'note' to 'tip'

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
  • Loading branch information
Victoria Bialas committed Mar 9, 2017
1 parent 0e5a784 commit ec7774f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compose/startup-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ec7774f

Please sign in to comment.