chore: Added chrysopedia-lightrag service to docker-compose.yml with Qd…
- "docker-compose.yml" - ".env.lightrag" GSD-Task: S01/T01
This commit is contained in:
parent
415f454105
commit
aca1cc1c91
1 changed files with 29 additions and 0 deletions
|
|
@ -77,6 +77,35 @@ services:
|
|||
start_period: 30s
|
||||
stop_grace_period: 15s
|
||||
|
||||
# ── LightRAG (graph-based RAG knowledge base) ──
|
||||
chrysopedia-lightrag:
|
||||
image: ghcr.io/hkuds/lightrag:latest
|
||||
container_name: chrysopedia-lightrag
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- path: .env.lightrag
|
||||
required: true
|
||||
environment:
|
||||
TIKTOKEN_CACHE_DIR: /app/data/tiktoken
|
||||
ports:
|
||||
- "127.0.0.1:9621:9621"
|
||||
volumes:
|
||||
- /vmPool/r/services/chrysopedia_lightrag:/app/data
|
||||
depends_on:
|
||||
chrysopedia-qdrant:
|
||||
condition: service_healthy
|
||||
chrysopedia-ollama:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- chrysopedia
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -sf http://localhost:9621/health || exit 1"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
stop_grace_period: 15s
|
||||
|
||||
# ── FastAPI application ──
|
||||
chrysopedia-api:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue