Fix: remove deepdoc dep (#16372)

This commit is contained in:
Jack
2026-06-26 11:32:16 +08:00
committed by GitHub
parent dd2c88b768
commit 70250ec88c
2 changed files with 8 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ DOC_ENGINE=${DOC_ENGINE:-elasticsearch}
# - `gpu`
DEVICE=${DEVICE:-cpu}
COMPOSE_PROFILES=${DOC_ENGINE},${DEVICE},deepdoc
COMPOSE_PROFILES=${DOC_ENGINE},${DEVICE}
# The version of Elasticsearch.
STACK_VERSION=${STACK_VERSION:-8.11.3}
@@ -315,6 +315,11 @@ DISABLE_PASSWORD_LOGIN=false
# URL for the deepdoc vision API (DLA, OCR, TSR) served by OSS ONNX models.
# The `deepdoc` service defined in docker-compose.yml provides this endpoint.
# When unset, the parser falls back to inline ONNX Runtime inference.
DEEPDOC_URL=http://deepdoc:9390
# Comment existing COMPOSE_PROFILES and uncomment below if need deepdoc service.
# COMPOSE_PROFILES=${DOC_ENGINE},${DEVICE},deepdoc
# DEEPDOC_URL=http://deepdoc:9390
# Docker image for the OSS deepdoc service. CPU-only; uses ONNX Runtime.
DEEPDOC_IMAGE=deepdoc_oss:latest
# DEEPDOC_IMAGE=deepdoc_oss:latest

View File

@@ -22,8 +22,6 @@ services:
depends_on:
mysql:
condition: service_healthy
deepdoc:
condition: service_healthy
profiles:
- cpu
image: ${RAGFLOW_IMAGE}
@@ -75,8 +73,6 @@ services:
depends_on:
mysql:
condition: service_healthy
deepdoc:
condition: service_healthy
profiles:
- gpu
image: ${RAGFLOW_IMAGE}