Add configuration examples for Oracle, TiDB, PostgreSQL and storage backends
This commit is contained in:
41
.env.example
41
.env.example
@@ -72,6 +72,45 @@ LOG_LEVEL=INFO
|
||||
# AZURE_EMBEDDING_DEPLOYMENT=text-embedding-3-large
|
||||
# AZURE_EMBEDDING_API_VERSION=2023-05-15
|
||||
|
||||
|
||||
# Ollama Emulating Model Tag
|
||||
# OLLAMA_EMULATING_MODEL_TAG=latest
|
||||
|
||||
# Oracle Database Configuration
|
||||
ORACLE_DSN=localhost:1521/XEPDB1
|
||||
ORACLE_USER=your_username
|
||||
ORACLE_PASSWORD=your_password
|
||||
ORACLE_CONFIG_DIR=/path/to/oracle/config
|
||||
ORACLE_WALLET_LOCATION=/path/to/wallet # 可选
|
||||
ORACLE_WALLET_PASSWORD=your_wallet_password # 可选
|
||||
ORACLE_WORKSPACE=default # 可选,默认为default
|
||||
|
||||
# TiDB Configuration
|
||||
TIDB_HOST=localhost
|
||||
TIDB_PORT=4000
|
||||
TIDB_USER=your_username
|
||||
TIDB_PASSWORD=your_password
|
||||
TIDB_DATABASE=your_database
|
||||
TIDB_WORKSPACE=default # 可选,默认为default
|
||||
|
||||
# PostgreSQL Configuration
|
||||
POSTGRES_HOST=localhost
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=your_username
|
||||
POSTGRES_PASSWORD=your_password
|
||||
POSTGRES_DATABASE=your_database
|
||||
POSTGRES_WORKSPACE=default # 可选,默认为default
|
||||
|
||||
# Database Configurations
|
||||
# Neo4j
|
||||
NEO4J_URI=neo4j+s://xxxxxxxx.databases.neo4j.io
|
||||
NEO4J_USERNAME=neo4j
|
||||
NEO4J_PASSWORD=your-password
|
||||
|
||||
# MongoDB (可选)
|
||||
MONGODB_URI=mongodb+srv://name:password@your-cluster-address
|
||||
MONGODB_DATABASE=lightrag
|
||||
MONGODB_GRAPH=false
|
||||
|
||||
# Qdrant
|
||||
QDRANT_URL=http://localhost:16333
|
||||
QDRANT_API_KEY=your-api-key # 可选
|
||||
|
Reference in New Issue
Block a user