withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.6.1
interface MeilisearchResource {
// ... omitted for brevity
withDataVolume(name?: string): MeilisearchResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a Meilisearch container resource.
withDataVolume(name?: string): MeilisearchResource
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
MeilisearchResource

Applies to

This method applies to the following types: