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 health check for container status. #10

Open
jeffm89 opened this issue Jun 18, 2024 · 0 comments
Open

Add health check for container status. #10

jeffm89 opened this issue Jun 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jeffm89
Copy link

jeffm89 commented Jun 18, 2024

docker-compose now supports health checks (since version 1.10.0), and delaying start-up of containers until their dependencies are up and healthy. See https://docs.docker.com/compose/compose-file/#healthcheck for docs on this.

There seems to be different standards for running the health check. Some use a health_check.sh file or some poll the rest server itself.

I'm not sure where to start looking to add another endpoint to the rest server. I see wait-for-it is called but not sure.

Thanks

@jeffm89 jeffm89 changed the title Add health check for docker status. Add health check for container status. Jun 18, 2024
@socheatsok78 socheatsok78 added the enhancement New feature or request label Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants