Skip to content

Improve Docker health check timing - #2276

Merged
felladrin merged 1 commit into
felladrin:mainfrom
lntutor:fix/2183-healthcheck-timing
Aug 1, 2026
Merged

Improve Docker health check timing#2276
felladrin merged 1 commit into
felladrin:mainfrom
lntutor:fix/2183-healthcheck-timing

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Description

Adds an explicit startup grace period, timeout, retry count, and faster polling interval to the production container health check. The probe now uses the configured PORT value and suppresses output on success while showing errors on failure.

Fixes #2183

How to test

  1. Run docker build --check ..
  2. Build and start the production image and observe the /status health probe.

@felladrin felladrin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this improvement, @lntutor! And congratulations on your first PR to this project! 🎉

@felladrin felladrin changed the title fix: improve Docker health check timing Improve Docker health check timing Aug 1, 2026
@felladrin
felladrin merged commit dffab88 into felladrin:main Aug 1, 2026
3 checks passed
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.

Dockerfile HEALTHCHECK lacks start-period/timeout/retries and polls slowly

2 participants