selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

zitadel logo

Self-host zitadel

v4.20.2

Open-source multi-tenant identity and access management

ReleaseOpen SourceAGPL-3.0
Updatedyesterday
LanguageGo
Setup difficultyModerate
Stars
15 556
Ports
8080 (ZITADEL API server (gRPC/REST/console) inside the container), 3000 (Hosted Login V2 UI inside the container)
Requires
PostgreSQL
Docker
ghcr.io/zitadel/zitadel
Install with Docker Compose
zitadel screenshot 1zitadel screenshot 2

What is zitadel?

Aiming at developers and teams who run SaaS products, B2B applications or internal infrastructure, ZITADEL bundles a complete identity and access management stack. Login options include username/password single sign-on, passkeys (FIDO2/WebAuthn) and second factors such as TOTP, U2F tokens or one-time codes sent by email or SMS; LDAP plus social and enterprise identity providers can be brokered through prebuilt templates. ZITADEL is a certified OpenID Connect provider and also speaks SAML 2.0 and SCIM 2.0, and all functionality is reachable over typed APIs (connectRPC, gRPC, HTTP/JSON). Changes are recorded as immutable events, producing a full audit trail that webhooks can push to outside systems. Isolation follows a strict instance → organization → project hierarchy, Actions inject custom code or webhooks on defined events, end users can self-register with email or phone verification, admins work in a web console, and each organization carries its own branding. The documented quickstart is Docker Compose, which starts the API container, the hosted Login V2 UI, PostgreSQL (14+) and a Traefik proxy; Kubernetes guides exist too, and optional profiles add Redis caching and OpenTelemetry tracing. The cloud and self-hosted editions share one codebase. Licensing is AGPL-3.0 with Apache-2.0 and MIT exceptions for certain directories, and commercial licensing terms are offered.

zitadel alternatives

All self-hosted alternatives to Auth0 → All self-hosted alternatives to FusionAuth → All self-hosted alternatives to Okta →

Should you self-host zitadel?

zitadel scores 76/100 on selfhost.directory (how scoring works) and ranks #2 of 19 in Identity & Auth. It has 15 556 GitHub stars, +324 in the last 30 days.

It shipped 32 stable releases in the past year. The latest, v4.20.2, came out on 9 November 2026. New versions land roughly every 5 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is authentik (80/100, 26 296 stars). It scores higher overall, so compare the two before you pick. See zitadel vs authentik side by side.

Features

  • Actions / webhooks
  • Administration console
  • Audit Log
  • Custom Branding
  • Identity Brokering
  • Multi-Factor Authentication
  • Multi-tenancy
  • OpenID Connect provider
  • Passkeys (FIDO2/WebAuthn)
  • REST & gRPC APIs
  • Role-based Access Control
  • SAML 2.0
  • SCIM 2.0 server
  • Self-registration
  • Single Sign-On (SSO)

zitadel README

How to install zitadel

Install zitadel with Docker Compose

Environment variables
ZITADEL_DOMAIN,ZITADEL_MASTERKEY,ZITADEL_DATABASE_POSTGRES_DSN,ZITADEL_EXTERNALPORT,ZITADEL_VERSION
# Docker Compose — up and running in under 3 minutes
curl -LO https://raw.githubusercontent.com/zitadel/zitadel/main/deploy/compose/docker-compose.yml \
  && curl -LO https://raw.githubusercontent.com/zitadel/zitadel/main/deploy/compose/.env.example \
  && cp .env.example .env \
  && docker compose up -d --wait

Brings up ZITADEL API, Login V2 UI, PostgreSQL and Traefik.

How to configure zitadel

  • ZITADEL_DOMAINlocalhostDomain and external URL
  • PROXY_HTTP_PUBLISHED_PORT8080Used by the base (non-TLS) compose; TLS overlays also publish 80/443 and may still expose this port unless their ports are adjusted.
  • ZITADEL_EXTERNALPORT8080
  • ZITADEL_EXTERNALSECUREfalse
  • ZITADEL_PUBLIC_SCHEMEhttpOverridden by TLS overlays (they hardcode X-Forwarded-Proto: https).

zitadel releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Identity & Auth

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…