open-webui.md 751 Bytes
Newer Older
1
2
3
---
title: Open WebUI
---
Reid's avatar
Reid committed
4

Reid's avatar
Reid committed
5
1. Install the [Docker](https://docs.docker.com/engine/install/)
Reid's avatar
Reid committed
6
7
8

2. Start the vLLM server with the supported chat completion model, e.g.

9
```bash
Reid's avatar
Reid committed
10
11
12
vllm serve qwen/Qwen1.5-0.5B-Chat
```

Reid's avatar
Reid committed
13
1. Start the [Open WebUI](https://github.com/open-webui/open-webui) docker container (replace the vllm serve host and vllm serve port):
Reid's avatar
Reid committed
14

15
```bash
Reid's avatar
Reid committed
16
17
18
19
20
21
22
23
24
25
26
27
docker run -d -p 3000:8080 \
--name open-webui \
-v open-webui:/app/backend/data \
-e OPENAI_API_BASE_URL=http://<vllm serve host>:<vllm serve port>/v1 \
--restart always \
ghcr.io/open-webui/open-webui:main
```

1. Open it in the browser: <http://open-webui-host:3000/>

On the top of the web page, you can see the model `qwen/Qwen1.5-0.5B-Chat`.

28
![](../../assets/deployment/open_webui.png)