59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
services:
|
|
# Docling
|
|
docling:
|
|
# https://github.com/docling-project/docling-serve
|
|
# 5001: Web UI + API
|
|
|
|
image: ghcr.io/docling-project/docling-serve-cpu:v1.13.0
|
|
container_name: jt-docling
|
|
restart: unless-stopped
|
|
environment:
|
|
DOCLING_SERVE_ENABLE_UI: "true"
|
|
ports:
|
|
- "5001:5001"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:5001/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 60s
|
|
|
|
# Ollama
|
|
ollama:
|
|
# https://hub.docker.com/r/ollama/ollama
|
|
# 11434: API port
|
|
# Model: qwen3:1.7b
|
|
|
|
image: ollama/ollama:0.9.3
|
|
container_name: jt-ollama
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ollama_data:/root/.ollama
|
|
ports:
|
|
- "11434:11434"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:11434/api/tags"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 30s
|
|
|
|
# Tools (Python FastAPI - Excel operations)
|
|
# tools:
|
|
# build: ./Tools/Service
|
|
# container_name: jt-tools
|
|
# restart: unless-stopped
|
|
# volumes:
|
|
# - /data/jingtian/BenjaminTeam:/data:rw
|
|
# ports:
|
|
# - "8080:8080"
|
|
# healthcheck:
|
|
# test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
|
|
# interval: 30s
|
|
# timeout: 10s
|
|
# retries: 3
|
|
|
|
volumes:
|
|
ollama_data:
|
|
name: jt-ollama-data
|