Just pull qwen3

This commit is contained in:
MangoPig
2026-02-21 22:36:35 +00:00
parent 72c22c2396
commit 4f367357fc
+3 -2
View File
@@ -22,7 +22,7 @@ services:
ollama: ollama:
# https://hub.docker.com/r/ollama/ollama # https://hub.docker.com/r/ollama/ollama
# 11434: API port # 11434: API port
# Model: qwen3:1.7b # Model: qwen3:1.7b (auto-pulled on startup)
image: ollama/ollama:0.9.3 image: ollama/ollama:0.9.3
container_name: jt-ollama container_name: jt-ollama
@@ -31,12 +31,13 @@ services:
- ollama_data:/root/.ollama - ollama_data:/root/.ollama
ports: ports:
- "11434:11434" - "11434:11434"
entrypoint: ["/bin/sh", "-c", "ollama serve & sleep 5 && ollama pull qwen3:1.7b && wait"]
healthcheck: healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:11434/api/tags"] test: ["CMD", "curl", "-sf", "http://localhost:11434/api/tags"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 5 retries: 5
start_period: 30s start_period: 120s
# Tools (Python FastAPI - Excel operations) # Tools (Python FastAPI - Excel operations)
# tools: # tools: