mirror of https://github.com/docker/docs.git
Merge pull request #363 from michael-wise/patch-1
compose/startup-order.md -- added clarification
This commit is contained in:
commit
bdd321ab20
|
@ -53,9 +53,11 @@ script:
|
||||||
db:
|
db:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
|
||||||
- Write your own wrapper script to perform a more application-specific health
|
- 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
|
check. For example, you might want to wait until Postgres is definitely
|
||||||
ready to accept commands:
|
ready to accept commands:
|
||||||
|
|
||||||
|
wait-for-postgres.sh
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue