Seed a self-hosted server once per deployment
Live on preview.zitadel.comReleased in v0.7.0
The server has a seed command, and server --seed=false starts without seeding. Run migrate and seed once as you deploy, with the configuration and master key the servers use, and every replica starts without writing to the database:
nextgen migrate
nextgen seed --user-file admin.json
nextgen server --seed=false
seed creates the platform project, imports the --user-file users and reconciles platform.operators. Without the flag, a start seeds as before. Write the flag with =: --seed false is refused.
- Each server process limits how many passwords it hashes at once, so a burst of sign-ins no longer exhausts memory or stalls other requests. By default the budget follows the container's memory limit; tune it under
password_hasher.concurrency. A request that finds no room withinmax_waitgets429withRetry-Afteranduser.password_hashing_busy: safe to retry, and never a failed sign-in. - Every request has one server span covering all of its middleware,
404and405answers included. Each PostgreSQL query span names its verb indb.operation.name, and apgx.acquirespan appears only for a wait of a millisecond or more.