Skip to content

Commit cd02e66

Browse files
authored
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 <[email protected]>
1 parent 54deed4 commit cd02e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ secretsConfiguration() {
215215
databaseConfiguration() {
216216
echo "Setting database configuration ..."
217217
setConfigurationValue "REMOTE_POSTGRES_HOST" "$DB_HOST" "$SETTINGS_PY" "string"
218+
setConfigurationValue "REMOTE_POSTGRES_PORT" "$DB_HOST_PORT" "$SETTINGS_PY" "string"
218219
setConfigurationValue "REMOTE_POSTGRES_SSLMODE" "$REMOTE_POSTGRES_SSLMODE" "$SETTINGS_PY" "string"
219220
# The password will be set in secretsConfiguration
220221
echo "Database configuration succeeded."

0 commit comments

Comments
 (0)