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

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: