Files
Server-scripts/docker_compose/quiethost/ollama/docker-compose.yaml
T
lucas eb59830e40
Python tests / test-serverlibrary (push) Successful in 11s
Python tests / test-wallpaper-changer (push) Successful in 21s
Python tests / lint (push) Successful in 5s
chore(docker_backup): quiethost new crontab, diun, fstab, ollama, node-exporter
first backup on quiethost
2026-11-16 19:52:25 +01:00

46 lines
843 B
YAML

services:
ollama:
image: ollama/ollama:latest
container_name: ollama
restart: unless-stopped
ports:
- "11434:11434"
environment:
OLLAMA_HOST: 0.0.0.0:11434
OLLAMA_VULKAN: "1"
OLLAMA_KEEP_ALIVE: "10m"
devices:
- /dev/dri:/dev/dri
- /dev/kfd:/dev/kfd
group_add:
- "44"
- "990"
volumes:
- /stable/ollama:/root/.ollama
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: unless-stopped
depends_on:
- ollama
ports:
- "3000:8080"
environment:
OLLAMA_BASE_URL: http://ollama:11434
WEBUI_SECRET_KEY: "eae4639d2f8d5d8afee8cf65fe4d4f3b970b32cfd6c68f0455c9721ccd04d324"
volumes:
- open_webui_data:/app/backend/data
volumes:
ollama_data:
open_webui_data: