eabykov / keycloak-compose

Keycloak with PostgreSQL, which includes Keycloak's monitoring using Prometheus and Grafana
https://keycloak.org/guides
166 stars 45 forks source link
compose docker docker-compose grafana grafana-dashboard keycloak openid postgresql prometheus sso trivy-scan

Keycloak with PostgreSQL, which includes Keycloak's monitoring using Prometheus and Grafana

  1. Requires docker and compose
  2. Parameterized using variables in the .env file
  3. Up the project using command:
    docker compose up -d
App Port Username Password
Keycloak http://localhost:8080 admin keycloak
Prometheus http://localhost:9090
Grafana http://localhost:3000 admin grafana
Useful commands Description
docker stats Containers resource usage (--no-stream only pull the first result)
docker compose logs Shows logs of containers (-f to follow logs)
docker compose down Stop and remove containers (-v remove named volumes declared in the volumes section of the Compose file and anonymous volumes attached to containers)
docker system prune -a -f Remove all unused containers, networks, images (--volumes prune volumes)