From 870abe59b4925f534b5d40841d204b5bbb537d75 Mon Sep 17 00:00:00 2001 From: michael-wise Date: Wed, 26 Oct 2016 21:24:36 -0400 Subject: [PATCH] added a filename above the custom script Added a filename above the custom script to distinguish it from the wait-for-it.sh script. --- compose/startup-order.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compose/startup-order.md b/compose/startup-order.md index f5a40ae8fa..634c7bba99 100644 --- a/compose/startup-order.md +++ b/compose/startup-order.md @@ -53,9 +53,11 @@ script: db: 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 ready to accept commands: + + wait-for-postgres.sh #!/bin/bash