Use a volume for postgres data in docker-compose.dev.yml

This commit is contained in:
Alex Mikhalev 2019-07-20 11:27:52 -06:00
parent dcce9edc34
commit 097e5a246c

View File

@ -40,5 +40,10 @@ services:
image: "postgres:11"
ports:
- "5432:5432"
volumes:
- data-volume:/var/lib/postgres/data
environment:
- POSTGRES_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV
volumes:
data-volume: