Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

MeilisearchResource.WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.6.1
type MeilisearchResource interface {
// ... omitted for brevity
WithDataBindMount(source string) MeilisearchResource
}

Signature

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a Meilisearch container resource.
WithDataBindMount(source string) MeilisearchResource
sourcestringThe source directory on the host to mount into the container.
MeilisearchResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: