Skip to content

Add healthcheck to dockerfile#1922

Merged
baszoetekouw merged 1 commit intomainfrom
fix/docker-healthcheck
Mar 17, 2026
Merged

Add healthcheck to dockerfile#1922
baszoetekouw merged 1 commit intomainfrom
fix/docker-healthcheck

Conversation

@baszoetekouw
Copy link
Copy Markdown
Member

Possible now that the health endpoint is restored.

Possible now that the health endpoint is restored.
@baszoetekouw baszoetekouw requested a review from johanib March 3, 2026 15:15
@baszoetekouw baszoetekouw self-assigned this Mar 3, 2026
Comment thread docker/Dockerfile.prod
--interval=10s \
--timeout=1s \
--retries=20 \
CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is the -w "%{http_code}" part used for anything? (just checking if it's leftover debugging or something).

afaik, it is not needed, as the check works based on http response code, not body.

@johanib johanib moved this from New to Backlog in PHP development Mar 16, 2026
@baszoetekouw baszoetekouw merged commit d8e4ced into main Mar 17, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Delivered in PHP development Mar 17, 2026
@baszoetekouw baszoetekouw added this to the 7.2.0 milestone Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Delivered

Development

Successfully merging this pull request may close these issues.

2 participants