addMeilisearch

Method
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addMeilisearch(
name: string,
masterKey?: ParameterResource,
port?: number): MeilisearchResource;
}

Signature

methodaddMeilisearchbuilder
Adds an Meilisearch container resource to the application model. The default image is and the tag is .
addMeilisearch(
name: string,
masterKey?: ParameterResource,
port?: number): MeilisearchResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
masterKeyParameterResourceoptionalThe parameter used to provide the master key for the Meilisearch. If `null` a random master key will be generated.
portnumberoptionalThe host port to bind the underlying container to.
MeilisearchResource

Applies to

This method applies to the following types: