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

Add healthcheck on postgres container to docker-compose.yaml #436

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

dchiller
Copy link
Collaborator

@dchiller dchiller commented Jun 1, 2022

Changes to docker-compose.yaml mean that build of the app container
will wait until the postgres container has status "healthy". Postgres
container is determined healthy when pg_isready, the Postgres command
that tests whether server is accepting connections, returns a positive
result.

Changes to docker-compose.yaml mean that build of the app container
will wait until the postgres container has status "healthy". Postgres
container is determined healthy when pg_isready, the Postgres command
that tests whether server is accepting connections, returns a positive
result.
Copy link
Member

@napulen napulen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

@napulen napulen merged commit 8c2ce24 into DDMAL:main Jun 1, 2022
@dchiller dchiller deleted the docker-compose-healthcheck branch July 7, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants