Skip to content
Docs Try Aspire
Docs Try

SolrResource.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

Defined on

This method is defined on the following type: