Skip to content

Commit 036d3f3

Browse files
committed
update to fix proper connection string for postgres
1 parent 0025b38 commit 036d3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concepts/managed-storage/managed-postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You can connect to the managed Postgres instance using the name of your service
5050
// highlight-end
5151
# Note: you can create a connection string by using interpolation,
5252
# reference config variables by using ${<config name>}
53-
CONNECTURL: postgresql://${POSTGRES_PASSWORD}@database:5432/postgres
53+
CONNECTURL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database:5432/postgres
5454
database:
5555
image: postgres:15
5656
x-defang-postgres: true

0 commit comments

Comments
 (0)