Created
August 12, 2022 10:34
-
-
Save deangrant/5d2a27c161d12b72d94339d590ae42eb to your computer and use it in GitHub Desktop.
Configure a check that’s run to determine whether or not a Keycloak containers is healthy
This file contains 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
# Healthcheck for strict HTTPS | |
healthcheck: | |
test: ["CMD", "curl", "-f", "http://localhost:8443/health"] | |
interval: 10s | |
timeout: 5s | |
retries: 5 | |
# Healthcheck for HTTP enabled | |
healthcheck: | |
test: ["CMD", "curl", "-f", "http://localhost:8080/health"] | |
interval: 10s | |
timeout: 5s | |
retries: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment