Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddMeilisearch

Method
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.6.1
func (DistributedApplicationBuilder) AddMeilisearch(
name string,
options ...*AddMeilisearchOptions,
) MeilisearchResource

Signature

methodAddMeilisearchbuilder
Adds an Meilisearch container resource to the application model. The default image is and the tag is .
AddMeilisearch(
name string,
options ...*AddMeilisearchOptions,
) MeilisearchResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddMeilisearchOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddMeilisearchOptions argument.

MasterKey*ParameterResourceThe parameter used to provide the master key for the Meilisearch. If null a random master key will be generated.
Port*float64The host port to bind the underlying container to.
MeilisearchResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder