mirror of https://github.com/docker/docs.git
Merge pull request #12461 from irlcatgirl/patch-1
Fix docker-compose database volume configuration
This commit is contained in:
commit
5be8260c40
|
@ -69,6 +69,8 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
|
|||
services:
|
||||
db:
|
||||
image: postgres
|
||||
volumes:
|
||||
- ./data/db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=postgres
|
||||
- POSTGRES_USER=postgres
|
||||
|
|
Loading…
Reference in New Issue