Skip to content

Conversation

eidottermihi
Copy link
Member

Add health-checker to buildpacks config, contributes health-check utility into image

Description

contributes health-check script to /workspace/health-check, which can be used for a Docker HEALTHCHECK, e.g.

docker run -it -e THC_PATH=/actuator/health/liveness --health-cmd /workspace/health-check --health-interval 1s --health-timeout 2s --health-retries 2 --health-start-period 15s -p 8080:8080 ghcr.io/itatm/appswitcher-server

Reference

it-at-m/refarch-templates#634

@eidottermihi eidottermihi added the enhancement New feature or request label Dec 11, 2024
@eidottermihi eidottermihi merged commit e701fa8 into main Dec 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant