entrypoint: Add postgres port to entrypoint config script.

This is required to use docker-zulip with an existing postgres instance on a port other than 5432.

Co-authored-by: Jeroen Versteeg <jv@1nnovat.io>
This commit is contained in:
ppenguin
2020-11-03 02:40:00 +01:00
committed by GitHub
parent 54deed4b3d
commit cd02e6612d

View File

@@ -215,6 +215,7 @@ secretsConfiguration() {
databaseConfiguration() {
echo "Setting database configuration ..."
setConfigurationValue "REMOTE_POSTGRES_HOST" "$DB_HOST" "$SETTINGS_PY" "string"
setConfigurationValue "REMOTE_POSTGRES_PORT" "$DB_HOST_PORT" "$SETTINGS_PY" "string"
setConfigurationValue "REMOTE_POSTGRES_SSLMODE" "$REMOTE_POSTGRES_SSLMODE" "$SETTINGS_PY" "string"
# The password will be set in secretsConfiguration
echo "Database configuration succeeded."