Skip to content

Commit 6e66aa4

Browse files
open db port
1 parent 245535f commit 6e66aa4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/fastapi-postgres/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ services:
2424
- POSTGRES_USER=postgres
2525
- POSTGRES_PASSWORD
2626
- POSTGRES_DB=postgres
27+
ports:
28+
- mode: host
29+
target: 5432

0 commit comments

Comments
 (0)