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

docker: add health check #2144

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

docker: add health check #2144

wants to merge 1 commit into from

Conversation

aramikm
Copy link
Collaborator

@aramikm aramikm commented Aug 29, 2024

Goal

The goal of this PR is to add health check to docker images

Closes #1390

Discussion

  • Using the already existed script written by Puneet
  • another alternative is to use something like the following
HEALTHCHECK --interval=300s --timeout=75s --start-period=30s --retries=3 \
  CMD curl -f http://localhost:9944/health || exit 1

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.

Add Heathcheck to Docker files
1 participant