Fix: OceanBase tenant startup drift and docs (#15829)

### What problem does this PR solve?

OceanBase could start without the `ragflow` tenant, so RAGFlow failed to
connect with `root@ragflow`. This PR adds a safe startup reconcile step
and documents the required host limits before using OceanBase.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Documentation Update
This commit is contained in:
Idriss Sbaaoui
2026-06-09 13:04:05 +08:00
committed by GitHub
parent 93e4f6bc09
commit faf78d3069
3 changed files with 162 additions and 1 deletions

View File

@@ -104,10 +104,16 @@ services:
profiles:
- oceanbase
image: oceanbase/oceanbase-ce:4.4.1.0-100000032025101610
entrypoint: ["bash", "/root/boot/ragflow-oceanbase-entrypoint.sh"]
ulimits:
nofile:
soft: 655350
hard: 655350
volumes:
- ./oceanbase/data:/root/ob
- ./oceanbase/conf:/root/.obd/cluster
- ./oceanbase/init.d:/root/boot/init.d
- ./oceanbase-entrypoint.sh:/root/boot/ragflow-oceanbase-entrypoint.sh:ro
ports:
- ${OCEANBASE_PORT:-2881}:2881
env_file: .env