Databases
Choose SQLite, PostgreSQL, or Spanner for the Zitadel server.
Zitadel persists projects, users, sessions, and related state in a SQL database. Configure exactly one dialect, which is the kind of database. When database: is omitted, the server uses SQLite at <server.data_dir>/zitadel.db.
- SQLite: local development, CLI
zitadel start, and small single-node or homelab deployments. Single-writer limits apply. - PostgreSQL: production and the Docker Compose operator stack.
- Spanner: production on Google Cloud Spanner.
PostgreSQL and Spanner are the production peers. For the CLI binary runtime path, see Run Zitadel locally. For YAML and environment examples, see the repository configuration guide.
Was this helpful?