Skip to content
DocsTry Aspire
DocsTry

withDataBindMount

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

Signature

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a Redpanda container resource.
withDataBindMount(
source: string,
isReadOnly?: boolean): RedPandaServerResource
sourcestring
isReadOnlybooleanoptional= False
RedPandaServerResource

Applies to

This method applies to the following types: