Skip to content
DocsTry Aspire
DocsTry

withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.KurrentDB v13.4.0
interface KurrentDBResource {
// ... omitted for brevity
withDataVolume(name?: string): KurrentDBResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a KurrentDB container resource.
withDataVolume(name?: string): KurrentDBResource
namestringoptional
KurrentDBResource

Applies to

This method applies to the following types: