[mod] openwebui
This commit is contained in:
parent
5084899dbd
commit
7ad53c4d8b
1 changed files with 38 additions and 37 deletions
|
|
@ -1,41 +1,42 @@
|
||||||
# named volume 'ollama' is marked as "external" (used by service 'ollama'), so either remove "external" from volume definition or it needs to be created using: docker volume create ollama
|
# named volume 'ollama' is marked as "external" (used by service 'ollama'), so either remove "external" from volume definition or it needs to be created using: docker volume create ollama
|
||||||
name: ollama
|
name: ollama
|
||||||
services:
|
services:
|
||||||
ollama:
|
ollama:
|
||||||
devices:
|
devices:
|
||||||
- /dev/kfd
|
- /dev/kfd
|
||||||
- /dev/dri
|
- /dev/dri
|
||||||
volumes:
|
volumes:
|
||||||
- ollama:/root/.ollama
|
- ollama:/root/.ollama
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
container_name: ollama
|
container_name: ollama
|
||||||
image: ollama/ollama:rocm
|
image: ollama/ollama:rocm
|
||||||
open-webui:
|
open-webui:
|
||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- ${OPEN_WEBUI_PORT-3001}:8080
|
- ${OPEN_WEBUI_PORT-3001}:8080
|
||||||
extra_hosts:
|
|
||||||
- host.docker.internal:host-gateway
|
volumes:
|
||||||
volumes:
|
- open-webui:/app/backend/data
|
||||||
- open-webui:/app/backend/data
|
container_name: open-webui
|
||||||
container_name: open-webui
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
environment:
|
||||||
environment:
|
- WEBUI_CONCURRENCY=1
|
||||||
- WEBUI_CONCURRENCY=1
|
- LOG_LEVEL=debug
|
||||||
- LOG_LEVEL=debug
|
- "OLLAMA_BASE_URL=http://ollama:11434"
|
||||||
- 'OLLAMA_BASE_URL=http://ollama:11434'
|
- "WEBUI_SECRET_KEY="
|
||||||
- 'WEBUI_SECRET_KEY='
|
- "RAG_EMBEDDING_ENGINE=ollama"
|
||||||
- 'RAG_EMBEDDING_ENGINE=ollama'
|
- "AUDIO_STT_ENGINE=openai"
|
||||||
- 'AUDIO_STT_ENGINE=openai'
|
# comfy
|
||||||
# comfy
|
- ENABLE_IMAGE_GENERATION=True
|
||||||
- COMFYUI_BASE_URL=http://host.docker.internal:8188/
|
- IMAGE_GENERATION_ENGINE=comfyui
|
||||||
- ENABLE_IMAGE_GENERATION=True
|
- "COMFYUI_BASE_URL=http://127.0.0.1:8188"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
open-webui:
|
open-webui:
|
||||||
external: true
|
external: true
|
||||||
name: open-webui
|
name: open-webui
|
||||||
ollama:
|
ollama:
|
||||||
external: true
|
external: true
|
||||||
name: ollama
|
name: ollama
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue