Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve rails sample #189

Merged
merged 19 commits into from
Sep 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
only specify host port for postgres container
jordanstephens committed Sep 9, 2024
commit 783fddc9fa1647cf437156ce4c14f928d5ee88a6
3 changes: 2 additions & 1 deletion samples/rails/compose.yaml
Original file line number Diff line number Diff line change
@@ -27,7 +27,8 @@ services:
POSTGRES_USER: rails_user
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
- mode: host
target: 5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U app_user"]
interval: 10s