From 70250ec88c8cb4cde0a90f40d7c8fec230c6c9b0 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 26 Jun 2026 11:32:16 +0800 Subject: [PATCH] Fix: remove deepdoc dep (#16372) --- docker/.env | 11 ++++++++--- docker/docker-compose.yml | 4 ---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docker/.env b/docker/.env index ed85d6e909..dbe3a37378 100644 --- a/docker/.env +++ b/docker/.env @@ -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 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index b8e18fbeee..14415f8219 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -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}