From a6ab8607d11b66a996b82d1110b0c4061f526cc7 Mon Sep 17 00:00:00 2001 From: leo-lb Date: Tue, 9 Jul 2019 19:39:19 +0200 Subject: [PATCH] Specify POSTGRESQL_SERVER_PORT for new databases --- run-document-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-document-server.sh b/run-document-server.sh index c673029..bebec70 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -223,7 +223,7 @@ create_postgresql_db(){ } create_postgresql_tbl(){ - CONNECTION_PARAMS="-h${POSTGRESQL_SERVER_HOST} -U${POSTGRESQL_SERVER_USER} -w" + CONNECTION_PARAMS="-h${POSTGRESQL_SERVER_HOST} -p${POSTGRESQL_SERVER_PORT} -U${POSTGRESQL_SERVER_USER} -w" if [ -n "${POSTGRESQL_SERVER_PASS}" ]; then export PGPASSWORD=${POSTGRESQL_SERVER_PASS} fi