Add Healthy check #5857

Closed
opened 2025-11-02 06:38:29 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @memiks on GitHub (Aug 17, 2020).

Hi Gitea Team,

To improve usage in Docker after Entrypoint line you could add an Health check line :

https://github.com/go-gitea/gitea/blob/d285b5d35a44bf9fde0682532aeef9550f78cf83/Dockerfile#L62

HEALTHCHECK --interval=30s --timeout=3s \ CMD /bin/s6-svok /etc/s6/gitea || exit 1

BR,
Memiks

Originally created by @memiks on GitHub (Aug 17, 2020). Hi Gitea Team, To improve usage in Docker after Entrypoint line you could add an Health check line : https://github.com/go-gitea/gitea/blob/d285b5d35a44bf9fde0682532aeef9550f78cf83/Dockerfile#L62 `HEALTHCHECK --interval=30s --timeout=3s \ CMD /bin/s6-svok /etc/s6/gitea || exit 1` BR, Memiks
GiteaMirror added the issue/stale label 2025-11-02 06:38:29 -06:00
Author
Owner

@Toucan-Sam commented on GitHub (Aug 18, 2020):

Dupe of #12443
But also has suggested solution.

@Toucan-Sam commented on GitHub (Aug 18, 2020): Dupe of #12443 But also has suggested solution.
Author
Owner

@stale[bot] commented on GitHub (Oct 17, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Oct 17, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5857