Files
Heimdall/docker/docker-compose.ollama.yml
T

26 lines
614 B
YAML
Raw Normal View History

# Optional local Ollama backend. Configure http://ollama:11434 in Central settings.
services:
ollama:
image: ollama/ollama:latest
2026-10-28 06:38:24 +01:00
pull_policy: always
restart: unless-stopped
ports:
- "${OLLAMA_PORT:-11434}:11434"
volumes:
- ollama_data:/root/.ollama
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:11434/api/tags"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
- heimdall-net
volumes:
ollama_data:
networks:
heimdall-net:
name: heimdall-net
external: true