fixed code example in Compose startup order per feedback (#3275)

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
Victoria Bialas 2017-05-15 15:35:50 -07:00 committed by GitHub
parent b46ee7e6a7
commit 8a9ffb234d
1 changed files with 5 additions and 2 deletions

View File

@ -71,8 +71,11 @@ script:
>&2 echo "Postgres is up - executing command"
exec $cmd
You can use this as a wrapper script as in the previous example, by setting
`command: ["./wait-for-postgres.sh", "db", "python", "app.py"]`.
You can use this as a wrapper script as in the previous example, by setting:
```none
command: ["./wait-for-postgres.sh", "db", "python", "app.py"]
```
## Compose documentation