From ec7774f46c334d5b3fd2f5e9b420403d2f797280 Mon Sep 17 00:00:00 2001 From: Victoria Bialas Date: Thu, 9 Mar 2017 11:59:37 -0800 Subject: [PATCH] clarified scripts logic for compose startup order changed 'note' to 'tip' Signed-off-by: Victoria Bialas --- compose/startup-order.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose/startup-order.md b/compose/startup-order.md index 55c5350f9e4..738426aa151 100644 --- a/compose/startup-order.md +++ b/compose/startup-order.md @@ -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: