修复 用户配置不生效

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

@@ -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