feat: add healthcheck binary support for slim DHIS2 images#80
Draft
feat: add healthcheck binary support for slim DHIS2 images#80
Conversation
Add lightweight static healthcheck binaries that work in minimal/distroless images that lack curl, wget, or bash. Changes include: - Add healthcheck-amd64 and healthcheck-arm64 binaries - Auto-detect CPU architecture in generate-env.sh - Change POSTGRES_VERSION to POSTGRES_IMAGE for flexibility - Add baosystems/postgis option for ARM compatibility - Install curl in update-admin-password.sh for minimal images - Change healthcheck endpoint to /api/ping - Increase tmpfs size to 300MB for better performance Signed-off-by: Morten Svanaes <msvanaes@dhis2.org>
Instead of storing binary files in the repository, download the healthcheck binary at container startup using healthcheck-init service. This follows the same pattern as glowroot-init and otel-init. Changes: - Add healthcheck-init service to download binary with SHA256 verification - Mount healthcheck volume into app container - Update tools/README.md to document the new approach Source: https://github.com/netroms/simple_healthcheck v1.0.0 Signed-off-by: Morten Svanaes <msvanaes@dhis2.org>
Removed log4j2.xml volume mapping from DHIS2 service.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is adding three features:
Changes include: