From 93a69e601da259f87f0d1943662f59d9298b605f Mon Sep 17 00:00:00 2001 From: leo-lb Date: Fri, 12 Jul 2019 11:15:37 +0200 Subject: [PATCH] Specify POSTGRESQL_SERVER_PORT for new databases (#170) --- 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