소스 검색

Merge pull request #2814 from nubs/patch-1

Fix example formatting for depends_on.
Aanand Prasad 9 년 전
부모
커밋
386974f831
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      docs/compose-file.md

+ 2 - 0
docs/compose-file.md

@@ -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: