Self-Hosted OSS Auth
Keycloak
CNCF-incubated Apache-2.0 enterprise IAM server for SAML, OIDC, LDAP, and identity brokering.
Self-Hosted Blueprint
keycloak/keycloak ↗- Min RAM / CPU
- 2 GB · 2 vCPU
- License
- Apache-2.0
- GitHub Stars
- 38k
- Maintenance
- High
One-click templates on: coolify dokploy
Quickstart / Docker Compose
docker-compose.yml
services:
keycloak:
image: quay.io/keycloak/keycloak:26.0
restart: unless-stopped
command: start-dev
ports:
- "8080:8080"
environment:
KC_BOOTSTRAP_ADMIN_USERNAME: admin
KC_BOOTSTRAP_ADMIN_PASSWORD: ${KC_ADMIN_PASSWORD}Gotchas & Hidden Limits
- Java/Quarkus JVM baseline consumes 1.5-2 GB RAM easily — too heavy for a $5 shared VPS alongside app databases.
- Complex Realm/Client/Flow UX and Freemarker theme customization carry steeper ops overhead than Logto or Authentik.
Best For: Larger B2B platforms and compliance-mandated VPCs needing battle-tested Apache-2.0 enterprise IAM.
Crossover Point: Chosen primarily for strict corporate compliance, existing LDAP/Active Directory brokering, and Red Hat ecosystem standardization.
Related Comparisons & Alternatives
Alternative To
Spot an outdated limit or pricing change?