瀏覽代碼

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
   create and start `db` and `redis`.
 
+Simple example:
+
     version: 2
     services:
       web: