Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve heath checks for Spring and NGINX containers #275

Merged
merged 9 commits into from
Jan 4, 2024

Conversation

dabico
Copy link
Member

@dabico dabico commented Jan 4, 2024

Makes two key changes:

  1. The back-end server health check now depends on the status as reported by the actuator. This implies that the server health is now determined by not just the HTTP reachability, but also connection to the database, to the GitHub API and disk space. At the same time, precautions have been taken only to expose the status publically, while keeping all the details behind an endpoint that enforces authorized-only access.

  2. The front-end server now has a very basic NGINX status probe as a stub_status. We introduce a new location for said probe, making it only accessible to the localhost. This precaution was taken to prevent the leakage of any sensitive information.

@dabico dabico merged commit 6a07da4 into master Jan 4, 2024
6 checks passed
@dabico dabico deleted the enhancement/healthchecks branch January 4, 2024 13:23
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.

1 participant