Add deployment scripts and configuration for Open WebUI + Ollama stack on Linux

This commit is contained in:
2026-04-12 16:24:25 -04:00
commit 646e83eaad
4 changed files with 151 additions and 0 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
services:
ollama:
image: ollama/ollama:latest
container_name: ollama
restart: unless-stopped
volumes:
- ollama_data:/root/.ollama
ports:
- "11434:11434"
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: unless-stopped
depends_on:
- ollama
environment:
- OLLAMA_BASE_URL=http://ollama:11434
volumes:
- openwebui_data:/app/backend/data
ports:
- "3000:8080"
volumes:
ollama_data:
openwebui_data: