Skip to content

Commit

Permalink
Debug - add port to connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
k-burt-uch committed Oct 22, 2024
1 parent 16e0b96 commit 47e86f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen3/bin/kube-setup-gen3-user-data-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ setup_database() {
local db_password=$(jq -r .db_password < "$secretsFolder/dbcreds.json")
local db_database=$(jq -r .db_database < "$secretsFolder/dbcreds.json")
cat - > "$secretsFolder/gen3-user-data-library.env" <<EOM
DB_CONNECTION_STRING=postgresql+asyncpg://$db_user:$db_password@$db_host/$db_database
DB_CONNECTION_STRING=postgresql+asyncpg://$db_user:$db_password@$db_host:5432/$db_database
EOM
# make it easy for nginx to get the Authorization header ...
echo -n "gateway:$password" | base64 > "$secretsFolder/base64Authz.txt"
Expand Down

0 comments on commit 47e86f3

Please sign in to comment.