Merge pull request #12461 from irlcatgirl/patch-1

Fix docker-compose database volume configuration
This commit is contained in:
Usha Mandya 2021-03-18 15:04:33 +00:00 committed by GitHub
commit 5be8260c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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