Commit a721cb00 authored by uuo00_n's avatar uuo00_n

chore: 更新数据库配置和依赖项

- 修改MongoDB连接URL和数据库名称
- 添加安全提示注释
- 更新python-jose依赖以包含cryptography
- 添加email-validator依赖
parent d149e42b
# 数据库配置 # 数据库配置
MONGODB_URL=mongodb://localhost:27017 # 注意:生产环境请通过安全的环境变量管理传递凭据,避免将敏感信息提交到版本库
DB_NAME=llm_filter_db MONGODB_URL=mongodb://llm:fSjFMwyShmcH4GdR@datacenter.dldzxx.cn:27017/llm?authSource=llm
DB_NAME=llm
# JWT配置 # JWT配置
SECRET_KEY=your_secret_key_here SECRET_KEY=your_secret_key_here
......
...@@ -4,9 +4,10 @@ pydantic==2.4.2 ...@@ -4,9 +4,10 @@ pydantic==2.4.2
pydantic-settings==2.0.3 pydantic-settings==2.0.3
pymongo==4.6.0 pymongo==4.6.0
motor==3.3.1 motor==3.3.1
python-jose==3.3.0 python-jose[cryptography]==3.3.0
passlib==1.7.4 passlib==1.7.4
python-multipart==0.0.6 python-multipart==0.0.6
bcrypt==4.0.1 bcrypt==4.0.1
httpx==0.25.0 httpx==0.25.0
python-dotenv==1.0.0 python-dotenv==1.0.0
\ No newline at end of file email-validator==2.1.0
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment