Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

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

Signature

method withDataBindMount builder
Adds a bind mount for the data folder to a RabbitMQ container resource.
withDataBindMount(
source: string,
isReadOnly?: boolean): RabbitMQServerResource
source string
isReadOnly boolean optional = False
RabbitMQServerResource

Applies to

This method applies to the following types: