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
1 changed files with 1 additions and 1 deletions

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: