diff --git a/Code/docker-compose.yaml b/Code/docker-compose.yaml index 09e9b92..f479a26 100644 --- a/Code/docker-compose.yaml +++ b/Code/docker-compose.yaml @@ -22,7 +22,7 @@ services: ollama: # https://hub.docker.com/r/ollama/ollama # 11434: API port - # Model: qwen3:1.7b + # Model: qwen3:1.7b (auto-pulled on startup) image: ollama/ollama:0.9.3 container_name: jt-ollama @@ -31,12 +31,13 @@ services: - ollama_data:/root/.ollama ports: - "11434:11434" + entrypoint: ["/bin/sh", "-c", "ollama serve & sleep 5 && ollama pull qwen3:1.7b && wait"] healthcheck: test: ["CMD", "curl", "-sf", "http://localhost:11434/api/tags"] interval: 30s timeout: 10s retries: 5 - start_period: 30s + start_period: 120s # Tools (Python FastAPI - Excel operations) # tools: