Skip to content

Commit 783fddc

Browse files
only specify host port for postgres container
1 parent 6bd9c8b commit 783fddc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/rails/compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ services:
2727
POSTGRES_USER: rails_user
2828
POSTGRES_PASSWORD: secret
2929
ports:
30-
- "5432:5432"
30+
- mode: host
31+
target: 5432
3132
healthcheck:
3233
test: ["CMD-SHELL", "pg_isready -U app_user"]
3334
interval: 10s

0 commit comments

Comments
 (0)