# Optional local Ollama backend. Set OLLAMA_URL=http://ollama:11434 on Central. services: ollama: image: ollama/ollama:latest 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