Open Source
All templates and components

App template

Open WebUI

A chat interface for LLMs with sign-in; its licence asks you to keep its branding.

Memory when idle
about 920 MiB
CI measures it once the app is ready and before any traffic. Leave room for more.
Tested on
x86 servers

Introduction

Open WebUI is a chat interface for large language models. You connect it to a model provider, and people chat with the models in the browser.

This template runs Open WebUI behind your domain, with a pipeline service for pipelines. Sign-up is off, and no model provider is connected yet.

Values you provide

  • Administrator emailRequired

    Initial administrator email; password is generated in app-secrets/admin-password.

Made for you

These values are generated at deploy and kept in a Kubernetes Secret, shown as Secret/key.

  • app-secrets/admin-password
  • app-secrets/session-key
  • app-secrets/pipeline-key

Getting started

  1. In Zeabur OSS, open the open-webui service. When Overview shows its replica as ready, the service is up. Its domain is on the Networking tab under Public domains. It is the domain you entered in the install form, for example chat.example.com.

  2. Sign in with the administrator email you entered in the install form. Get the password from the open-webui service: open Variables, click app-secrets under From config files and secrets, and click the eye icon next to admin-password. Without Zeabur OSS, read Secret app-secrets, key admin-password, with kubectl:

    kubectl -n <namespace> get secret app-secrets -o jsonpath='{.data.admin-password}' | base64 -d
    
  3. Open WebUI creates the administrator account at the first start, when no user exists. A later change to the Secret does not change the password, so change it in Open WebUI.

  4. Sign-up is off. The administrator creates other users.

  5. Add a model provider. See Configuration.

  6. Secret app-secrets also holds two keys that you do not need for daily use. session-key is the secret key of the web interface, and pipeline-key is the API key that the web interface uses to call the pipeline service. Show them the same way on Variables. Without Zeabur OSS, use kubectl:

    kubectl -n <namespace> get secret app-secrets -o jsonpath='{.data.session-key}' | base64 -d
    kubectl -n <namespace> get secret app-secrets -o jsonpath='{.data.pipeline-key}' | base64 -d
    

Configuration

Add a model provider

Sign in as the administrator, open Settings, then Connections (the admin section). Next to Manage OpenAI API Connections, select Add Connection. Enter the URL of the provider’s OpenAI-compatible API and its API key, then save. For OpenAI the URL is https://api.openai.com/v1. See OpenAI in the Open WebUI docs.

The template starts Open WebUI with ENABLE_PERSISTENT_CONFIG set to false. See Troubleshooting for what this means for settings you change.

Troubleshooting

The page shows 502, does not load or keeps reconnecting

Open the open-webui service in Zeabur OSS. Check that Overview shows its replica as ready, then read the Logs tab. If the replica is not ready, open Deployments and switch to Events. If Events show OOMKilled, the service ran out of memory. Raise Maximum memory under Settings → Compute. A service that is slow or keeps reconnecting is often short of memory too, so check Events and Maximum memory for it as well. If the domain or the certificate stays pending, see Troubleshooting on the domains page.

See Adjust replicas, resources, and health checks and View logs, events, and usage, and open a terminal in the Zeabur OSS docs.

Settings you changed in the admin panel are gone after a restart

With ENABLE_PERSISTENT_CONFIG set to false, Open WebUI reads its settings from its environment variables at every start. It lets you edit settings in the admin panel, but does not save the changes. Make the change again after a restart. See Environment variable configuration in the Open WebUI docs.

Resources

Each service is guaranteed the first amount and can use up to the second.

  • open-webui

    Ports

    8080

    CPU

    0.5 cores to 2 cores

    Memory

    1 GiB to 4 GiB

  • pipeline

    Ports

    9099

    CPU

    0.2 cores to 2 cores

    Memory

    512 MiB to 2 GiB

Technical details

This release

Version
main
Licence
LicenseRef-Open-WebUI AND MIT
Homepage
github.com

Tested in CI

CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.

DistributionPlatformKubernetesPassedIdle memory
kindlinux/amd64v1.37.0924 MiB

Security

The web interface and the pipeline service both run as UID 1000 with no extra system privileges and read-only images. The first admin credentials and the pipeline API key are generated. Sign-up is disabled.

Known risks

  1. Risk

    Open WebUI uses a custom license. You can read the source, but it is not OSI-approved, and it has branding rules.

    How it is handled

    The template description names the license. Keep all the upstream branding. Section 4 allows branding changes only for at most 50 end users in a rolling 30-day period, or with written or enterprise permission. This template keeps the upstream branding.

  2. Risk

    Pipelines and tools added by administrators run Python code with access to provider credentials.

    How it is handled

    Treat every installed pipeline and dependency as application code and trust it fully. Keep the pipeline service private so only the web interface can reach it. It has no Kubernetes tokens or host sockets. Outbound traffic is not limited, so add an egress NetworkPolicy (a rule that limits outbound traffic) to keep pipelines away from private addresses. Python packages install to the writable pipeline volume. Packages that need root (apt or system libraries for a browser) cannot install at runtime. Build them into your own pinned image.

  3. Risk

    External model providers receive your chat content and the data from documents you upload.

    How it is handled

    Read each provider's privacy terms before you connect it. Ollama is disabled. Add provider connections in the admin settings.

What the cluster needs

Zeabur OSS suggests the components a cluster is missing. Without it, install them first.