Keycloak with PostgreSQL, which includes Keycloak's monitoring using Prometheus and Grafana
- Requires docker and compose
- Parameterized using variables in the
.envfile - 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) |