Skip to content
DocsTry Aspire
DocsTry

withDatabase

Method
📦 CommunityToolkit.Aspire.Hosting.Zitadel v13.4.0
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
serverPostgresServerResource
databaseNamestringoptional
ZitadelResource

Applies to

This method applies to the following types: