This commit is contained in:
+2
-3
@@ -8,10 +8,9 @@ services:
|
|||||||
image: docker.io/ollama/ollama:latest
|
image: docker.io/ollama/ollama:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/ollama/ollama:/root/.ollama
|
- ./data/ollama/ollama:/root/.ollama
|
||||||
ports:
|
|
||||||
- 7869:11434
|
|
||||||
environment:
|
environment:
|
||||||
- OLLAMA_KEEP_ALIVE=24h
|
- OLLAMA_KEEP_ALIVE=24h
|
||||||
|
- OLLAMA_ORIGINS=*
|
||||||
|
|
||||||
ollama-webui:
|
ollama-webui:
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
@@ -23,7 +22,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8009:8080
|
- 8009:8080
|
||||||
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
||||||
- OLLAMA_BASE_URLS=http://host.docker.internal:7869
|
- OLLAMA_BASE_URLS=http://ollama:11434
|
||||||
- ENV=prod
|
- ENV=prod
|
||||||
- WEBUI_AUTH=True
|
- WEBUI_AUTH=True
|
||||||
- WEBUI_NAME=Mistox AI
|
- WEBUI_NAME=Mistox AI
|
||||||
|
|||||||
Reference in New Issue
Block a user