Initiale Version

This commit is contained in:
Marc Blatter 2025-10-27 14:44:12 +00:00
parent 579dbe545e
commit c271fc1dec
1 changed files with 29 additions and 0 deletions

29
compose_ollama.yaml Normal file
View File

@ -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: