Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.6.1
func (MeilisearchResource) 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().

Applies to

This method applies to the following types: