Save PostgresSQL data to hard drive.

PostgresSQL data don't get saved to hard drive. This tweak should fix that
This commit is contained in:
Spyros Sakellaropoulos 2018-03-09 10:47:43 +02:00 committed by GitHub
parent c4aef8e901
commit 23b8239cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ services:
postgres: postgres:
build: ./postgres build: ./postgres
volumes: volumes:
- ${DATA_SAVE_PATH}/postgres:/var/lib/postgresql - ${DATA_SAVE_PATH}/postgres:/var/lib/postgresql/data
ports: ports:
- "${POSTGRES_PORT}:5432" - "${POSTGRES_PORT}:5432"
environment: environment: