OpenWebUIResource.withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.6.1
interface OpenWebUIResource {
// ... omitted for brevity
withHostPort(port: number): OpenWebUIResource;
}

Signature

methodwithHostPortbuilder
Configures the host port that the Open WebUI resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): OpenWebUIResource
portnumberThe port to bind on the host. If `null` is used random port will be assigned.
OpenWebUIResource

Defined on

This method is defined on the following type: