Store Postgres data in volume

This commit is contained in:
Dominik Kwiatek 2020-10-03 11:48:33 +01:00 committed by Andreas Nedbal
parent 1d1ed3a124
commit 3efde50028
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ services:
environment: environment:
POSTGRES_PASSWORD: justask POSTGRES_PASSWORD: justask
POSTGRES_DB: justask_development POSTGRES_DB: justask_development
volumes:
- db:/var/lib/postgresql/data
volumes: volumes:
db:
cache: cache: