浏览代码

Merge pull request #3570 from davidjb/patch-1

Fix minor YAML typo
Ben Firshman 9 年之前
父节点
当前提交
da2aae2a29
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/compose-file.md

+ 1 - 1
docs/compose-file.md

@@ -798,7 +798,7 @@ called `data` and mount it into the `db` service's containers.
 You can also specify the name of the volume separately from the name used to
 You can also specify the name of the volume separately from the name used to
 refer to it within the Compose file:
 refer to it within the Compose file:
 
 
-    volumes
+    volumes:
       data:
       data:
         external:
         external:
           name: actual-name-of-volume
           name: actual-name-of-volume