Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.KurrentDB v13.6.1
func (KurrentDBResource) WithDataBindMount(source string) KurrentDBResource

Signature

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a KurrentDB container resource.
WithDataBindMount(source string) KurrentDBResource
sourcestringThe source directory on the host to mount into the container.
KurrentDBResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: