From 7ad53c4d8b49a994b5f1f8b8e792782d75c6f92c Mon Sep 17 00:00:00 2001 From: Andy Bunce Date: Sun, 15 Feb 2026 14:53:28 +0000 Subject: [PATCH] [mod] openwebui --- ollama/compose.yml | 75 +++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 37 deletions(-) diff --git a/ollama/compose.yml b/ollama/compose.yml index 986adb6..f0bef95 100644 --- a/ollama/compose.yml +++ b/ollama/compose.yml @@ -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 name: ollama services: - ollama: - devices: - - /dev/kfd - - /dev/dri - volumes: - - ollama:/root/.ollama - ports: - - 11434:11434 - container_name: ollama - image: ollama/ollama:rocm - open-webui: - depends_on: - - ollama - ports: - - ${OPEN_WEBUI_PORT-3001}:8080 - extra_hosts: - - host.docker.internal:host-gateway - volumes: - - open-webui:/app/backend/data - container_name: open-webui - image: ghcr.io/open-webui/open-webui:main - environment: - - WEBUI_CONCURRENCY=1 - - LOG_LEVEL=debug - - 'OLLAMA_BASE_URL=http://ollama:11434' - - 'WEBUI_SECRET_KEY=' - - 'RAG_EMBEDDING_ENGINE=ollama' - - 'AUDIO_STT_ENGINE=openai' - # comfy - - COMFYUI_BASE_URL=http://host.docker.internal:8188/ - - ENABLE_IMAGE_GENERATION=True + ollama: + devices: + - /dev/kfd + - /dev/dri + volumes: + - ollama:/root/.ollama + ports: + - 11434:11434 + container_name: ollama + image: ollama/ollama:rocm + open-webui: + depends_on: + - ollama + ports: + - ${OPEN_WEBUI_PORT-3001}:8080 + + volumes: + - open-webui:/app/backend/data + container_name: open-webui + image: ghcr.io/open-webui/open-webui:main + environment: + - WEBUI_CONCURRENCY=1 + - LOG_LEVEL=debug + - "OLLAMA_BASE_URL=http://ollama:11434" + - "WEBUI_SECRET_KEY=" + - "RAG_EMBEDDING_ENGINE=ollama" + - "AUDIO_STT_ENGINE=openai" + # comfy + - ENABLE_IMAGE_GENERATION=True + - IMAGE_GENERATION_ENGINE=comfyui + - "COMFYUI_BASE_URL=http://127.0.0.1:8188" + volumes: - open-webui: - external: true - name: open-webui - ollama: - external: true - name: ollama \ No newline at end of file + open-webui: + external: true + name: open-webui + ollama: + external: true + name: ollama