added webui

This commit is contained in:
2024-08-10 01:08:27 -07:00
parent af93e1c729
commit 4497dc4690
4 changed files with 41 additions and 1 deletions
+9
View File
@@ -2,6 +2,8 @@
Dockerhub: https://hub.docker.com/r/ollama/ollama
Reverse Proxy Port webui: 7860
## Preperation
You need to have nvidia-drivers, cuda and nvidia-container-toolkit
@@ -13,4 +15,11 @@ docker run -d --runtime=nvidia --gpus=all -v ollama:/root/.ollama -p 11434:11434
podman exec -it ollama ollama pull llama3
podman exec -it ollama ollama run llama3
```
# Notes
this worked:
```bash
docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda
```