Deploy Open WebUI from Its Official Docker Image

·3 min read
aillmdockerself-hostedhow-to

Open WebUI is a good single-container choice for a personal or team chat interface using a remote model provider. Deploy its official image, persist /app/backend/data, and expose container port 8080 through HTTPS. You do not need a separate Ollama container when using a remote API.

This recipe was checked against upstream documentation on October 28, 2026. It has not been verified by a live JustRunMy.App deployment. For alternatives, see the official-image comparison.

Open the deployment form

Configure Open WebUI on JustRunMy.App

The link opens a pre-filled form. Add the private values below before clicking Create. It does not generate passwords or provide a model account.

Field Value
Registry ghcr.io
Image open-webui/open-webui:main-slim
Run command Leave empty
Persistent volume /app/backend/data
Container port 8080
Protocol HTTPS

The official quick start documents the image, port, and storage path. main-slim is a moving tag without bundled embedding and speech models. It is useful for remote-API chat; features needing those models require additional configuration or downloads. After validation, replace the moving tag with a suitable release tag or digest.

Set authentication and the model connection

Add these in the panel environment editor, not in the shared URL:

Variable Your value
WEBUI_ADMIN_EMAIL Your administrator email
WEBUI_ADMIN_PASSWORD A unique strong password
WEBUI_SECRET_KEY A securely generated random secret, kept stable across recreations
OPENAI_API_BASE_URL Your provider's compatible API base URL, including /v1 where required
OPENAI_API_KEY Your provider API key

The link also sets WEBUI_AUTH=True, ENABLE_SIGNUP=False, and ENABLE_OLLAMA_API=False. The upstream environment reference describes these settings and connection variables.

On a fresh database, Open WebUI can create the administrator at startup from WEBUI_ADMIN_EMAIL and WEBUI_ADMIN_PASSWORD. Existing accounts are not overwritten by these variables. This avoids leaving a public first-registration page for someone else to claim; see upstream bootstrap guidance.

Select resources before Create. Measure startup and concurrent chats; document processing and local embeddings can need substantially more RAM and disk than remote text chat. Model API usage is billed separately.

Set the public address

Once the app has a hostname, set WEBUI_URL to its full https://... address and restart. Configure this before enabling OAuth. Some settings persist in the database and subsequently take precedence over environment changes; update those through the administrator settings as described in the configuration reference.

Use a provider endpoint reachable from the container. localhost points to this container, not your laptop. Keep the container serving HTTP on 8080; the platform's HTTPS binding handles the public certificate.

Verify chat, access, and persistence

  1. Open the app URL and sign in with the seeded administrator account. In a private browser window, confirm that protected chat requires authentication and public registration is disabled.
  2. Select a model and send a short prompt. Check that the response streams to completion; a loaded login page alone does not validate the model connection.
  3. Save a conversation, recreate the container through a configuration change, and sign in again. Confirm that the conversation and provider settings remain.
  4. Check logs and resource usage during a real conversation before increasing concurrency.

If the UI loads but models are absent, check the API base URL, key, provider permissions, and available model IDs. If an update loses conversations, verify that the volume is mounted at the exact data path. Use the upstream troubleshooting guide for connection failures.

Keep the deployment within this recipe

This setup covers one Open WebUI instance and a remote model API. An external terminal, computer-use service, or other tool server is an additional dependency. Enable only the tools you intend to operate, and follow the project's hardening guidance before sharing access.

Back up the volume and retain the signing secret before changing the image. See persistent storage and the deploy-link format if you want to distribute your own configuration.