Fixed WebUI's volume

This commit is contained in:
2024-10-30 17:35:00 -07:00
parent 92b2d7bd21
commit b90131519f
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
# Ollama # Ollama
Dockerhub: https://hub.docker.com/r/ollama/ollama Dockerhub: https://hub.docker.com/r/ollama/ollama
Github (instructions): https://github.com/open-webui/open-webui
Reverse Proxy Port webui: 8080 Reverse Proxy Port webui: 8080 (The docker-compose sets the port to 3000)
## Preperation ## Preperation
+1
View File
@@ -31,6 +31,7 @@ services:
- NVIDIA_DRIVER_CAPABILITIES=compute,utility - NVIDIA_DRIVER_CAPABILITIES=compute,utility
volumes: volumes:
- "${VOL_PATH:-./data}/webui:/root/.cache" - "${VOL_PATH:-./data}/webui:/root/.cache"
- "${VOL_PATH:-./data}/open-webui:/app/backend/data"
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
ports: ports: