Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

Method
📦 Aspire.Hosting.Garnet v13.3.0
interface GarnetResource {
// ... omitted for brevity
withDataBindMount(
source: string,
isReadOnly?: boolean): GarnetResource;
}

Signature

method withDataBindMount builder
Mounts a host directory as the Garnet data directory.
withDataBindMount(
source: string,
isReadOnly?: boolean): GarnetResource
source string
isReadOnly boolean optional = False
GarnetResource

Applies to

This method applies to the following types: