From c271fc1dec21c6a8bd183bb24186a28842650342 Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Mon, 27 Oct 2025 14:44:12 +0000 Subject: [PATCH] Initiale Version --- compose_ollama.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 compose_ollama.yaml diff --git a/compose_ollama.yaml b/compose_ollama.yaml new file mode 100644 index 0000000..67133af --- /dev/null +++ b/compose_ollama.yaml @@ -0,0 +1,29 @@ +version: '3.8' + +services: + ollama: + image: ollama/ollama + container_name: ollama + restart: unless-stopped + volumes: + - /opt/ollama:/root/.ollama + ports: + - "11434:11434" + + open-webui: + image: ghcr.io/open-webui/open-webui:main + container_name: open-webui + restart: unless-stopped + environment: + - OLLAMA_API_BASE_URL=http://ollama:11434 + - WEBUI_SECRET_KEY=BusyBox2025 + ports: + - "8080:8080" + volumes: + - /opt/open-webui/config:/app/backend/data + depends_on: + - ollama + +volumes: + ollama_data: + openwebui_data: \ No newline at end of file