addMeilisearch
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addMeilisearch( name: string, masterKey?: ParameterResource, port?: number): MeilisearchResource;}Signature
method
addMeilisearch builderAdds an Meilisearch container resource to the application model. The default image is and the tag is .
addMeilisearch( name: string, masterKey?: ParameterResource, port?: number): MeilisearchResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.masterKey ParameterResource optionalThe 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.Returns
MeilisearchResource Applies to
This method applies to the following types: