Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix: use explicit localhost for docreader health probes
sn1p4am0785a498e961
diff --git a/docker-compose.dev.yml b/docker-compose.dev.ymlindex 84cb67125..de4bbeacf 100644--- a/docker-compose.dev.yml+++ b/docker-compose.dev.yml@@ -150,7 +150,7 @@ services:- MINERU_ENDPOINT=${MINERU_ENDPOINT:-}- MAX_FILE_SIZE_MB=${MAX_FILE_SIZE_MB:-}healthcheck:- test: ["CMD", "grpc_health_probe", "-addr=:50051"]+ test: ["CMD", "grpc_health_probe", "-addr=localhost:50051"]interval: 30stimeout: 10sretries: 3diff --git a/docker-compose.yml b/docker-compose.ymlindex 54549cbe4..b7fc5bb7e 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -171,7 +171,7 @@ services:- DOCREADER_IMAGE_OUTPUT_DIR=/tmp/docreader- MAX_FILE_SIZE_MB=${MAX_FILE_SIZE_MB:-}healthcheck:- test: ["CMD", "grpc_health_probe", "-addr=:50051"]+ test: ["CMD", "grpc_health_probe", "-addr=localhost:50051"]interval: 30stimeout: 10sretries: 3diff --git a/docreader/README.md b/docreader/README.mdindex 19f495418..680cd6dc5 100644--- a/docreader/README.md+++ b/docreader/README.md@@ -229,7 +229,7 @@ DocReader 服务配置了健康检查:```yamlhealthcheck:- test: ["CMD", "grpc_health_probe", "-addr=:50051"]+ test: ["CMD", "grpc_health_probe", "-addr=localhost:50051"]interval: 30stimeout: 10sretries: 3diff --git a/helm/templates/docreader.yaml b/helm/templates/docreader.yamlindex c95ebe7bb..229f8bc24 100644--- a/helm/templates/docreader.yaml+++ b/helm/templates/docreader.yaml@@ -55,7 +55,7 @@ spec:exec:command:- grpc_health_probe- - -addr=:50051+ - -addr=localhost:50051initialDelaySeconds: 30periodSeconds: 10timeoutSeconds: 5@@ -64,7 +64,7 @@ spec:exec:command:- grpc_health_probe- - -addr=:50051+ - -addr=localhost:50051initialDelaySeconds: 10periodSeconds: 5timeoutSeconds: 3