Skip to content
Snippets Groups Projects
Commit 93a69e60 authored by leo-lb's avatar leo-lb Committed by Alexey Golubev
Browse files

Specify POSTGRESQL_SERVER_PORT for new databases (#170)

parent 87aa987e
No related branches found
No related tags found
No related merge requests found
...@@ -223,7 +223,7 @@ create_postgresql_db(){ ...@@ -223,7 +223,7 @@ create_postgresql_db(){
} }
create_postgresql_tbl(){ 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 if [ -n "${POSTGRESQL_SERVER_PASS}" ]; then
export PGPASSWORD=${POSTGRESQL_SERVER_PASS} export PGPASSWORD=${POSTGRESQL_SERVER_PASS}
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment