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 #2998

Open
wants to merge 1 commit into
base: alpha
Choose a base branch
from
Open

Add healthcheck #2998

wants to merge 1 commit into from

Conversation

pifou25
Copy link
Contributor

@pifou25 pifou25 commented Dec 17, 2024

Description

Le healtchckeck dans le Dockerfile permet nativement à Docker de savoir la santé du container, c'est pratique pour le monitoring, on peut directement voir dans un simple docker run ... s'il a fini de démarrer ou pas... Et ça n'empêche pas de surcharger ce healtchcheck dans docker-compose ou ailleurs, on peut le voir comme un healthcheck par défaut.

Et on l'utilise dans le workflow github au lieu du sleep45 pour attendre la fin du démarrage.

Suggested changelog entry

  • Healthcheck for Dockerfile

Related issues/external references

Fixes #

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

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