
Installing Open WebUI: Set Up Your Own ChatGPT with Docker
The quickest way to install Open WebUI is a single Docker command. The interface then runs in the browser, connects to Ollama or a model API, and the first account created becomes the administrator. For team use, add HTTPS, user groups and knowledge bases.
The easiest way to install Open WebUI is with Docker. A single command starts the interface, which is then available in the browser at `http://localhost:3000`. If Ollama is already running on the same machine, Open WebUI detects it automatically. The first account created becomes the administrator – so create it yourself right away.
Installation with Docker
The standard command from the Open WebUI documentation is:
`docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main`
Part of the command | Meaning |
|---|---|
-p 3000:8080 | interface reachable on port 3000 of the host |
--add-host=host.docker.internal:host-gateway | container can reach Ollama on the host |
-v open-webui:/app/backend/data | chats, users and settings survive updates |
--restart always | starts automatically after a reboot |
If Ollama runs on another server, pass its address via the `OLLAMA_BASE_URL` variable. Instead of Ollama you can also connect an OpenAI-compatible API, such as the IONOS AI Model Hub or Mistral.
First setup in five steps
- Create the admin account: the first account gets administrator rights.
- Restrict sign-up: new accounts only by invitation or after admin approval.
- Choose models: which models should employees see? Hide the ones you don’t need.
- Groups and permissions: create departments and decide who may use which models and knowledge bases – see users, permissions and SSO in Open WebUI.
- Knowledge bases: upload manuals, policies or product data so the AI answers with sources – see Open WebUI as a knowledge base.
For running it in a company
- HTTPS: via a reverse proxy with a certificate, never unprotected on the internet.
- Single sign-on: with an identity provider such as Authentik or Microsoft Entra ID.
- Updates: update the image regularly; the data lives in the volume and is kept.
- Backup: back up the `open-webui` volume.
- Licence: above 50 users in 30 days, the Open WebUI branding must stay visible – details in Open WebUI, LibreChat or AnythingLLM?.
Why your own interface is worth it compared with ChatGPT is explained in Open WebUI as a ChatGPT alternative. If you don’t want to handle installation and operation yourself, we set up the environment on German servers – see open-source software.
Frequently asked questions
Do I need Ollama for Open WebUI?
No. Open WebUI can use Ollama, but also any OpenAI-compatible API, for example from Mistral, IONOS or other providers.
Can I install Open WebUI without Docker?
Yes, for example as a Python package with pip. Docker is the simplest and best-documented route, though.
Who becomes administrator in Open WebUI?
The first account created after installation. So create it yourself straight away.
How do I update Open WebUI?
Pull the new image and recreate the container. Because the data is stored in the volume, chats and settings are kept.
Is Open WebUI free?
Yes. Above 50 users in 30 days, however, the branding may not be removed unless you have an enterprise licence.
As of November 2026. Software changes quickly – the documentation and licence of each project are authoritative.

Muhamed Alahmed
With over 10 years’ experience in IT, I develop solutions that not only work from a technical perspective, but also create real added value and open up new possibilities.
More about bettersorted →More articles

Open WebUI: The ChatGPT alternative for your team – on your own servers
Open WebUI as a ChatGPT alternative for teams: features, data protection, licensing caveat from 50 users, and setup – explained clearly. Read now.

Installing Ollama: Local AI on Windows, Mac and Linux in 10 Minutes
Install Ollama in 10 minutes: Windows, macOS and Linux, load your first model, share it on the network and connect Open WebUI – with hardware tips.

Open WebUI in the team: users, groups, rights and single sign-on
Manage Open WebUI in the company: roles, groups, model access, knowledge rights, login via OIDC or LDAP and automatic synchronization via SCIM.
Stay up to date on AI topics
Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.