From 4f367357fcd90ce16e2dc9af4180fa5194c1a4e2 Mon Sep 17 00:00:00 2001 From: MangoPig Date: Sat, 21 Feb 2026 22:36:35 +0000 Subject: [PATCH] Just pull qwen3 --- Code/docker-compose.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: