瀏覽代碼

Fix version in docs example

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 9 年之前
父節點
當前提交
e700d7ca6a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/compose-file.md

+ 1 - 1
docs/compose-file.md

@@ -518,7 +518,7 @@ The general format is shown here.
 
 In the example below, three services are provided (`web`, `worker`, and `db`), along with two networks (`new` and `legacy`). The `db` service is reachable at the hostname `db` or `database` on the `new` network, and at `db` or `mysql` on the `legacy` network.
 
-    version: 2
+    version: '2'
 
     services:
       web: