瀏覽代碼

Signed-off-by: Chris Clark <[email protected]>

The postgres image expects a specific volume path. The docs had a typo in that path. This can cause a lot of agony. This is not hypothetical agony, but very real agony that was very recently experienced :)
Chris Clark 9 年之前
父節點
當前提交
a62739b906
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/compose-file.md

+ 1 - 1
docs/compose-file.md

@@ -789,7 +789,7 @@ called `data` and mount it into the `db` service's containers.
       db:
         image: postgres
         volumes:
-          - data:/var/lib/postgres/data
+          - data:/var/lib/postgresql/data
 
     volumes:
       data: