Skip to content
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

Spot an outdated limit or pricing change?

Report Outdated Limit or Pricing Change

Flag changed quotas, pricing tiers, credit-card rules, or license shifts for manual verification.

Request Type
2–120 characters, e.g. Coolify or Neon.
⚠ Enter the tool name (at least 2 characters).
Include https:// (e.g. https://coolify.io/pricing).
⚠ Enter a valid URL starting with https:// or http://.
Deployment Model
Lowercase letters, numbers, and hyphens only (e.g. coolify).
Optional — only used if editors need clarification.
⚠ Enter a valid email address (e.g. name@domain.com).
Share key free allowances, credit-card gate, sleep rule, or min Docker RAM.
⚠ Enter at least 10 characters describing the correction.
Human Verification

Search StackTiers Infrastructure Index

↑↓ navigate · ↵ openFull Pagefind search →