Skip to content

🚑 Add Health Check to Dockerfile for Enhanced Reliability#16

Open
arcane-engine[bot] wants to merge 1 commit intomainfrom
add-health-check-to
Open

🚑 Add Health Check to Dockerfile for Enhanced Reliability#16
arcane-engine[bot] wants to merge 1 commit intomainfrom
add-health-check-to

Conversation

@arcane-engine
Copy link
Contributor

@arcane-engine arcane-engine bot commented Oct 11, 2024

Summary
This PR introduces a health check to the Dockerfile to enhance the application's reliability and facilitate debugging. The health check ensures the application is running correctly by periodically sending requests to the application on port 8000.

🔧 Dockerfile Changes

  • Added a health check command to the Dockerfile.
  • The health check runs every 30 seconds, with a timeout of 10 seconds and retries up to 3 times.
  • Uses curl to verify the application response on http://localhost:8000.

🛠️ Impact

  • Improves application reliability by automatically detecting failures.
  • Aids in debugging by providing immediate feedback on application health.

📂 File Changes


@arcane-engine arcane-engine bot changed the title 🚑 Add Health Check to Dockerfile for Improved Reliability 🚑 Add Health Check to Dockerfile for Enhanced Reliability Nov 5, 2024
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.

0 participants