21 lines
671 B
Bash
21 lines
671 B
Bash
# ============ DeepSeek LLM 配置 ============
|
|
DEEPSEEK_API_KEY=your_deepseek_api_key_here
|
|
DEEPSEEK_MODEL=deepseek-chat
|
|
DEEPSEEK_BASE_URL=https://api.deepseek.com
|
|
|
|
# ============ ERP 数据库配置(加密连接)============
|
|
# 注意:生产环境使用 Docker Secrets,不要直接写在 .env 文件中
|
|
ERP_DB_HOST=your_erp_db_host
|
|
ERP_DB_PORT=5432
|
|
ERP_DB_NAME=xingbang_erp
|
|
ERP_DB_USER=readonly_user # 只读账号
|
|
ERP_DB_PASSWORD=your_readonly_password
|
|
ERP_DB_SSL_MODE=require # 强制 SSL 连接
|
|
|
|
# ============ 审计日志路径 ============
|
|
ERP_AUDIT_LOG=./logs/erp_access.log
|
|
|
|
# ============ 其他配置 ============
|
|
BACKEND_PORT=8002
|
|
FRONTEND_PORT=3000
|