mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 02:08:37 +08:00
chore: add tidb-on-qdrant configuration in env and docker-compose file (#10015)
This commit is contained in:
parent
878d13ef42
commit
c6e54c83c8
@ -202,6 +202,20 @@ TIDB_VECTOR_USER=xxx.root
|
|||||||
TIDB_VECTOR_PASSWORD=xxxxxx
|
TIDB_VECTOR_PASSWORD=xxxxxx
|
||||||
TIDB_VECTOR_DATABASE=dify
|
TIDB_VECTOR_DATABASE=dify
|
||||||
|
|
||||||
|
# Tidb on qdrant configuration
|
||||||
|
TIDB_ON_QDRANT_URL=http://127.0.0.1
|
||||||
|
TIDB_ON_QDRANT_API_KEY=dify
|
||||||
|
TIDB_ON_QDRANT_CLIENT_TIMEOUT=20
|
||||||
|
TIDB_ON_QDRANT_GRPC_ENABLED=false
|
||||||
|
TIDB_ON_QDRANT_GRPC_PORT=6334
|
||||||
|
TIDB_PUBLIC_KEY=dify
|
||||||
|
TIDB_PRIVATE_KEY=dify
|
||||||
|
TIDB_API_URL=http://127.0.0.1
|
||||||
|
TIDB_IAM_API_URL=http://127.0.0.1
|
||||||
|
TIDB_REGION=regions/aws-us-east-1
|
||||||
|
TIDB_PROJECT_ID=dify
|
||||||
|
TIDB_SPEND_LIMIT=100
|
||||||
|
|
||||||
# Chroma configuration
|
# Chroma configuration
|
||||||
CHROMA_HOST=127.0.0.1
|
CHROMA_HOST=127.0.0.1
|
||||||
CHROMA_PORT=8000
|
CHROMA_PORT=8000
|
||||||
|
@ -455,6 +455,20 @@ TIDB_VECTOR_USER=xxx.root
|
|||||||
TIDB_VECTOR_PASSWORD=xxxxxx
|
TIDB_VECTOR_PASSWORD=xxxxxx
|
||||||
TIDB_VECTOR_DATABASE=dify
|
TIDB_VECTOR_DATABASE=dify
|
||||||
|
|
||||||
|
# Tidb on qdrant configuration, only available when VECTOR_STORE is `tidb_on_qdrant`
|
||||||
|
TIDB_ON_QDRANT_URL=http://127.0.0.1
|
||||||
|
TIDB_ON_QDRANT_API_KEY=dify
|
||||||
|
TIDB_ON_QDRANT_CLIENT_TIMEOUT=20
|
||||||
|
TIDB_ON_QDRANT_GRPC_ENABLED=false
|
||||||
|
TIDB_ON_QDRANT_GRPC_PORT=6334
|
||||||
|
TIDB_PUBLIC_KEY=dify
|
||||||
|
TIDB_PRIVATE_KEY=dify
|
||||||
|
TIDB_API_URL=http://127.0.0.1
|
||||||
|
TIDB_IAM_API_URL=http://127.0.0.1
|
||||||
|
TIDB_REGION=regions/aws-us-east-1
|
||||||
|
TIDB_PROJECT_ID=dify
|
||||||
|
TIDB_SPEND_LIMIT=100
|
||||||
|
|
||||||
# Chroma configuration, only available when VECTOR_STORE is `chroma`
|
# Chroma configuration, only available when VECTOR_STORE is `chroma`
|
||||||
CHROMA_HOST=127.0.0.1
|
CHROMA_HOST=127.0.0.1
|
||||||
CHROMA_PORT=8000
|
CHROMA_PORT=8000
|
||||||
|
@ -140,6 +140,18 @@ x-shared-env: &shared-api-worker-env
|
|||||||
TIDB_VECTOR_USER: ${TIDB_VECTOR_USER:-}
|
TIDB_VECTOR_USER: ${TIDB_VECTOR_USER:-}
|
||||||
TIDB_VECTOR_PASSWORD: ${TIDB_VECTOR_PASSWORD:-}
|
TIDB_VECTOR_PASSWORD: ${TIDB_VECTOR_PASSWORD:-}
|
||||||
TIDB_VECTOR_DATABASE: ${TIDB_VECTOR_DATABASE:-dify}
|
TIDB_VECTOR_DATABASE: ${TIDB_VECTOR_DATABASE:-dify}
|
||||||
|
TIDB_ON_QDRANT_URL: ${TIDB_ON_QDRANT_URL:-http://127.0.0.1}
|
||||||
|
TIDB_ON_QDRANT_API_KEY: ${TIDB_ON_QDRANT_API_KEY:-dify}
|
||||||
|
TIDB_ON_QDRANT_CLIENT_TIMEOUT: ${TIDB_ON_QDRANT_API_KEY:-20}
|
||||||
|
TIDB_ON_QDRANT_GRPC_ENABLED: ${TIDB_ON_QDRANT_GRPC_ENABLED:-false}
|
||||||
|
TIDB_ON_QDRANT_GRPC_PORT: ${TIDB_ON_QDRANT_GRPC_PORT:-6334}
|
||||||
|
TIDB_PUBLIC_KEY: ${TIDB_PUBLIC_KEY:-dify}
|
||||||
|
TIDB_PRIVATE_KEY: ${TIDB_PRIVATE_KEY:-dify}
|
||||||
|
TIDB_API_URL: ${TIDB_API_URL:-http://127.0.0.1}
|
||||||
|
TIDB_IAM_API_URL: ${TIDB_IAM_API_URL:-http://127.0.0.1}
|
||||||
|
TIDB_REGION: ${TIDB_REGION:-regions/aws-us-east-1}
|
||||||
|
TIDB_PROJECT_ID: ${TIDB_PROJECT_ID:-dify}
|
||||||
|
TIDB_SPEND_LIMIT: ${TIDB_SPEND_LIMIT:-100}
|
||||||
ORACLE_HOST: ${ORACLE_HOST:-oracle}
|
ORACLE_HOST: ${ORACLE_HOST:-oracle}
|
||||||
ORACLE_PORT: ${ORACLE_PORT:-1521}
|
ORACLE_PORT: ${ORACLE_PORT:-1521}
|
||||||
ORACLE_USER: ${ORACLE_USER:-dify}
|
ORACLE_USER: ${ORACLE_USER:-dify}
|
||||||
|
Loading…
Reference in New Issue
Block a user