services: ollama: image: ollama/ollama volumes: - ollama_data:/root/.ollama healthcheck: test: ["CMD-SHELL", "curl -sf http://localhost:11434/api/tags || exit 1"] interval: 10s timeout: 5s retries: 10 start_period: 10s tei-annotator: build: . ports: - "8099:7860" environment: OLLAMA_BASE_URL: http://ollama:11434 OLLAMA_MODEL: qwen2.5:7b depends_on: ollama: condition: service_healthy volumes: ollama_data: