From 23b8239cfaf0b382c8600497d2dc960a7fa5655d Mon Sep 17 00:00:00 2001 From: Spyros Sakellaropoulos Date: Fri, 9 Mar 2018 10:47:43 +0200 Subject: [PATCH] Save PostgresSQL data to hard drive. PostgresSQL data don't get saved to hard drive. This tweak should fix that --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1317528..61a40ea 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: