withDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.RavenDB v13.6.1
interface RavenDBServerResource {
// ... omitted for brevity
withDataBindMount(
source: string,
isReadOnly?: boolean): RavenDBServerResource;
}

Signature

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a RavenDB container resource.
withDataBindMount(
source: string,
isReadOnly?: boolean): RavenDBServerResource
sourcestringThe source directory on the host to mount into the container.
isReadOnlybooleanoptional= FalseIndicates whether the bind mount should be read-only. Defaults to false.
RavenDBServerResource

Applies to

This method applies to the following types: