mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 07:06:39 +08:00
feat: add seekdb which is lite version of oceanbase (#12692)
### What problem does this PR solve? Add seekdb as doc_engine wich is the lite version of oceanbase. close #12691 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -121,6 +121,30 @@ services:
|
||||
- ragflow
|
||||
restart: unless-stopped
|
||||
|
||||
seekdb:
|
||||
profiles:
|
||||
- seekdb
|
||||
image: oceanbase/seekdb:latest
|
||||
container_name: seekdb
|
||||
volumes:
|
||||
- ./seekdb:/var/lib/oceanbase
|
||||
ports:
|
||||
- ${SEEKDB_PORT:-2881}:2881
|
||||
env_file: .env
|
||||
environment:
|
||||
- ROOT_PASSWORD=${SEEKDB_PASSWORD:-infini_rag_flow}
|
||||
- MEMORY_LIMIT=${SEEKDB_MEMORY_LIMIT:-2G}
|
||||
- REPORTER=ragflow-seekdb
|
||||
mem_limit: ${MEM_LIMIT}
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'mysql -h127.0.0.1 -P2881 -uroot -p${SEEKDB_PASSWORD:-infini_rag_flow} -e "CREATE DATABASE IF NOT EXISTS ${SEEKDB_DOC_DBNAME:-ragflow_doc};"']
|
||||
interval: 5s
|
||||
retries: 60
|
||||
timeout: 5s
|
||||
networks:
|
||||
- ragflow
|
||||
restart: unless-stopped
|
||||
|
||||
sandbox-executor-manager:
|
||||
profiles:
|
||||
- sandbox
|
||||
@ -283,6 +307,8 @@ volumes:
|
||||
driver: local
|
||||
ob_data:
|
||||
driver: local
|
||||
seekdb_data:
|
||||
driver: local
|
||||
mysql_data:
|
||||
driver: local
|
||||
minio_data:
|
||||
|
||||
Reference in New Issue
Block a user