Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: remove deepdoc dep (#16372)

Jack70250ec88c8c
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}