Update startup-order.md

This commit is contained in:
Wang Jie 2017-10-17 16:54:45 +08:00 committed by Misty Stanley-Jones
parent 4089b1b1d7
commit 778d436c41
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
--- ---
description: How to control service startup order in Docker Compose description: How to control service startup order in Docker Compose
keywords: documentation, docs, docker, compose, startup, order keywords: documentation, docs, docker, compose, startup, order
title: Controlling startup order in Compose title: Control startup order in Compose
notoc: true notoc: true
--- ---
@ -29,7 +29,7 @@ need this level of resilience, you can work around the problem with a wrapper
script: script:
- Use a tool such as [wait-for-it](https://github.com/vishnubob/wait-for-it), - Use a tool such as [wait-for-it](https://github.com/vishnubob/wait-for-it),
[dockerize](https://github.com/jwilder/dockerize) or sh-compatible [dockerize](https://github.com/jwilder/dockerize), or sh-compatible
[wait-for](https://github.com/Eficode/wait-for). These are small [wait-for](https://github.com/Eficode/wait-for). These are small
wrapper scripts which you can include in your application's image and will wrapper scripts which you can include in your application's image and will
poll a given host and port until it's accepting TCP connections. poll a given host and port until it's accepting TCP connections.