OKdevTV Docs
Home OKdevTV
ESC
ollama 1 min read 0.7 KB Raw Markdown
On this page (3)

open-webui

requirement

build and run

sh
git clone https://github.com/open-webui/open-webui.git
cd open-webui
pnpm i
pnpm build

cd backend
pip install -r requirements.txt
bash start.sh

Docker

sh
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/home/ec2-user/git/open-webui/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
  • NVIDIA GPU
sh
docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/home/ec2-user/git/open-webui/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda