Skip to content
Docs Try Aspire
Docs Try

withDataVolume

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

Signature

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

Applies to

This method applies to the following types: