Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

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

Signature

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

Applies to

This method applies to the following types: