withDatabase

Method
📦 CommunityToolkit.Aspire.Hosting.Zitadel v13.6.1
interface ZitadelResource {
// ... omitted for brevity
withDatabase(
server: PostgresServerResource,
databaseName?: string): ZitadelResource;
}

Signature

methodwithDatabasebuilder
Adds database support to the Zitadel resource.
withDatabase(
server: PostgresServerResource,
databaseName?: string): ZitadelResource
serverPostgresServerResourceThe Postgres server resource to use for the database.
databaseNamestringoptionalAn optional name for the database Zitadel will use, if left empty will default to `"zitadel-db"`.
ZitadelResource

Applies to

This method applies to the following types: