Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

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

Signature

method withDataBindMount builder
Configures a bind mount for the LavinMQ container resource to allow data persistence. The method mounts a specified source path on the host to the container's data directory.
withDataBindMount(
source: string,
isReadOnly?: boolean): LavinMQContainerResource
source string
isReadOnly boolean optional = False
LavinMQContainerResource

Applies to

This method applies to the following types: