withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.KurrentDB v13.6.1
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
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
KurrentDBResource

Applies to

This method applies to the following types: