Browse Source

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 years ago
parent
commit
a62739b906
1 changed files with 1 additions and 1 deletions
  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:
       db:
         image: postgres
         image: postgres
         volumes:
         volumes:
-          - data:/var/lib/postgres/data
+          - data:/var/lib/postgresql/data
 
 
     volumes:
     volumes:
       data:
       data: