Change PG volume to Docker Volume

This commit is contained in:
David Krett 2018-08-13 15:23:21 -04:00
parent 7bcb1aa426
commit d2f1349b95

View file

@ -1,5 +1,6 @@
version: '3'
volumes:
pg-data:
services:
shyftgeth:
build:
@ -33,7 +34,7 @@ services:
context: $PWD
dockerfile: docker/pg/Dockerfile.pg
volumes:
- ./pg-data:/var/lib/postgresql/data
- pg-data:/var/lib/postgresql/data
ports:
- "8001:5432"
networks: