1- Installing as docker container
- Install docker like you would, by adding its repositories or however you are used to installing it
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main
- to check if it is running, run sudo docker ps
- Now, localhost:8080 should have your OpenWebUI running
- Do a signup or create account (Local instance bound), the first account you create will automatically become an admin account !
At this stage, you should be good to go,
If you don’t want to use docker ! you can simply install it with the following pip command
pip install open-webui
Once done, you can simply run it with
open-webui serve
Now that it is running, go to http://localhost:8080 and create an account, the first account you create will automatically become the admin account
Adding OpenAI API key
The most common use for open-webui is with Ollama, but let us assume you want to install your openAI account into it !
1- Go to admin panel (Bottom left)
2- Go to settings in admin panel (center top)
3- go to connections
4-