mirror of
https://github.com/docker/compose.git
synced 2025-07-26 15:14:04 +02:00
Merge pull request #2814 from nubs/patch-1
Fix example formatting for depends_on.
This commit is contained in:
commit
386974f831
@ -181,6 +181,8 @@ Express dependency between services, which has two effects:
|
|||||||
dependencies. In the following example, `docker-compose up web` will also
|
dependencies. In the following example, `docker-compose up web` will also
|
||||||
create and start `db` and `redis`.
|
create and start `db` and `redis`.
|
||||||
|
|
||||||
|
Simple example:
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user