Skip to content

Keycloak

Maurício Generoso edited this page Aug 25, 2022 · 8 revisions

How to run

Required docker and docker-compose.

For Keycloak instance only, runs docker compose command:

docker-compose up keycloak

To run the entire project, see docker-local-setup

Health check

Health check is enabled on Keycloak to ensure the container is running on docker:

http://localhost:8180/health

Expected response:

{
  "status": "UP",
  "checks": [
    {
      "name": "Keycloak database connections health check",
      "status": "UP"
    }
  ]
}

Metrics

Metrics in prometheus format are enabled on the endpoint:

http://localhost:8180/metrics
Clone this wiki locally