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 to the Docker image #64

Open
ashish-tyagi opened this issue May 22, 2019 · 1 comment
Open

Add healthcheck to the Docker image #64

ashish-tyagi opened this issue May 22, 2019 · 1 comment

Comments

@ashish-tyagi
Copy link

Healthcheck aids in automated deployments. Suggest the following healthcheck.

HEALTHCHECK CMD pg_isready -U postgres

@abonander
Copy link

It looks like the official Postgres image opted not to implement a healthcheck for various reasons: docker-library/postgres#282 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants