Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithOpenWebUI

Method
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.6.1
func (OllamaResource) WithOpenWebUI(options ...*WithOpenWebUIOptions) OllamaResource

Signature

methodWithOpenWebUIbuilder
Adds an Open WebUI container to the application model for administering Ollama. This version of the package defaults to the main tag of the Open WebUI container image.
WithOpenWebUI(options ...*WithOpenWebUIOptions) OllamaResource
options...*WithOpenWebUIOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj OpenWebUIResource)callbackConfiguration callback for Open WebUI container resource.
ContainerName*stringThe name of the container (Optional).
OllamaResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types: