Skip to content
DocsTry Aspire
DocsTry

LavinMQContainerResource.withDataBindMount

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

Signature

methodwithDataBindMountbuilder
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
sourcestring
isReadOnlybooleanoptional= False
LavinMQContainerResource

Defined on

This method is defined on the following type: