Skip to content

The open alternative to Salesforce, designed for AI.

Fix port missing while building pg_database_url for render

Charles Bochete67b2d23ae90
diff --git a/server/scripts/compute-database-url.sh b/server/scripts/compute-database-url.sh
index dad7d852156..13cc38149dd 100755
--- a/server/scripts/compute-database-url.sh
+++ b/server/scripts/compute-database-url.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-export PG_DATABASE_URL=postgres://twenty:twenty@$PG_DATABASE_HOST:5432/default
\ No newline at end of file
+export PG_DATABASE_URL=postgres://twenty:twenty@$PG_DATABASE_HOST:$PG_DATABASE_PORT/default
\ No newline at end of file