Merge pull request #1421 from spyridonas/patch-1

Save PostgresSQL data to hard drive.
This commit is contained in:
Yu-Lung Shao (Allen) 2018-03-23 16:54:41 +08:00 committed by GitHub
commit 21a5d5bf98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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