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

feat: Added DB connection health check #4014

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-compose.yml
Expand Up @@ -100,13 +100,13 @@ services:
test:
[
"CMD-SHELL",
"sh -c 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}'"
"sh -c 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}' && psql -U $${POSTGRES_USER} -d $${POSTGRES_DB} -c 'SELECT 1'"
]
interval: 5s
timeout: 5s
retries: 10

# All the services listed below are deprececated
# # All the services listed below are deprececated
hoppscotch-old-backend:
container_name: hoppscotch-old-backend
build:
Expand Down