# Local development overrides for the repo-root backend configuration.
# Keep shared defaults in .env and put machine-specific or remote-dev values here.

# ===== Milvus向量数据库配置（已有）=====
MILVUS_HOST=6.86.80.8
MILVUS_PORT=19530
MILVUS_COLLECTION=regulations_dense_1024_v2
MILVUS_DB_NAME=default
MILVUS_INDEX_TYPE=IVF_FLAT
MILVUS_NLIST=128
MILVUS_NPROBE=16

# ===== MinIO对象存储配置（已有）=====
MINIO_ENDPOINT=6.86.80.8:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=compliance-docs
MINIO_SECURE=false

# ===== Redis配置（已有）=====
REDIS_HOST=6.86.80.8
REDIS_PORT=6379
REDIS_PASSWORD=redis@123
REDIS_DB=0

# ===== PostgreSQL配置（已有）=====
POSTGRES_HOST=6.86.80.8
POSTGRES_PORT=5432
POSTGRES_USER=postgresql
POSTGRES_PASSWORD=postgresql123456
POSTGRES_DB=compliance_db

# ===== 文档元数据后端 =====
# 改为 postgres 以启用合规分析历史记录（Direction B）和 Finding Chat（Direction C）
DOCUMENT_REPOSITORY_BACKEND=json
