Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

7 participants