修复 用户配置不生效

This commit is contained in:
2025-11-18 15:30:23 +08:00
parent f8ed0ef3c0
commit 8e8e39611a
4 changed files with 23 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
# - `elasticsearch` (default)
# - `infinity` (https://github.com/infiniflow/infinity)
# - `opensearch` (https://github.com/opensearch-project/OpenSearch)
DOC_ENGINE=opensearch
DOC_ENGINE=elasticsearch
# ------------------------------
# docker env var for specifying vector db type at startup

View File

@@ -109,6 +109,7 @@ services:
- postgres_data:/var/lib/postgresql/data
networks:
- ragflow
mem_limit: ${MEM_LIMIT}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DBNAME}"]
interval: 10s
@@ -139,6 +140,7 @@ services:
- SANDBOX_ENABLE_SECCOMP=${SANDBOX_ENABLE_SECCOMP:-false}
- SANDBOX_MAX_MEMORY=${SANDBOX_MAX_MEMORY:-256m}
- SANDBOX_TIMEOUT=${SANDBOX_TIMEOUT:-10s}
mem_limit: ${MEM_LIMIT}
healthcheck:
test: ["CMD", "curl", "http://localhost:9385/healthz"]
interval: 10s
@@ -163,6 +165,7 @@ services:
networks:
- ragflow
restart: on-failure
mem_limit: ${MEM_LIMIT}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
@@ -182,6 +185,7 @@ services:
networks:
- ragflow
restart: on-failure
mem_limit: ${MEM_LIMIT}
healthcheck:
test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD}", "ping"]
interval: 5s

View File

@@ -30,8 +30,8 @@ services:
ports:
- ${SVR_HTTP_PORT}:9380
- ${ADMIN_SVR_HTTP_PORT}:9381
- 80:80
- 443:443
- 8000:80
- 8443:443
- 5678:5678
- 5679:5679
- 9382:9382 # entry for MCP (host_port:docker_port). The docker_port must match the value you set for `mcp-port` above.