mirror of https://github.com/docker/compose.git
Signed-off-by: Chris Clark <chris@untrod.com>
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 :)
This commit is contained in:
parent
3d20e25bf8
commit
a62739b906
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue