Skip to content
Docs Try Aspire
Docs Try

withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.4.0
interface OpenWebUIResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): OpenWebUIResource;
}

Signature

method withDataVolume builder
Adds a data volume to the Open WebUI container.
withDataVolume(
name?: string,
isReadOnly?: boolean): OpenWebUIResource
name string optional
isReadOnly boolean optional = False
OpenWebUIResource

Applies to

This method applies to the following types: