Files
homelab/docker-compose/ollama/docker-compose.yaml
T
Rodney Osodo ca62a1c14d
Continuous Integration / pre-commit (push) Has been cancelled
Continuous Integration / docker-compose (push) Has been cancelled
Continuous Integration / terraform (bohr) (push) Has been cancelled
Continuous Integration / terraform (galana) (push) Has been cancelled
Continuous Integration / terraform (tana) (push) Has been cancelled
Continuous Integration / terraform (turkwel) (push) Has been cancelled
Continuous Integration / terraform (yala) (push) Has been cancelled
Continuous Integration / ansible (push) Has been cancelled
fix(docker): remove ollama exporter
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
2026-07-05 20:16:22 +00:00

36 lines
893 B
YAML

services:
ollama:
container_name: ollama
image: docker.io/ollama/ollama:0.24.0
restart: unless-stopped
networks:
- homelab-network
security_opt:
- no-new-privileges:true
environment:
- TZ=Africa/Nairobi
- OLLAMA_KEEP_ALIVE=15m
- OLLAMA_HOST=0.0.0.0:11434
- OLLAMA_MODELS=ollama-models
volumes:
- ~/docker-volumes/ollama/data:/root/.ollama
- ~/docker-volumes/ollama/models:/ollama-models
open-webui:
container_name: open-webui
image: ghcr.io/open-webui/open-webui:v0.9.5
restart: unless-stopped
networks:
- homelab-network
security_opt:
- no-new-privileges:true
environment:
- TZ=Africa/Nairobi
- OLLAMA_BASE_URL=http://ollama:11434
depends_on:
- ollama
ports:
- 5020:8080
volumes:
- ~/docker-volumes/open-webui/data:/app/backend/data