feat: server connect mongo
This commit is contained in:
@@ -7,7 +7,7 @@ server:
|
||||
# Python 配置
|
||||
python:
|
||||
# Python 解释器路径(相对于项目根目录或绝对路径)
|
||||
path: analyzer/venv/bin/python
|
||||
path: analyzer/venv/Scripts/python.exe
|
||||
# 分析脚本路径(相对于项目根目录)
|
||||
script: analyzer/clean_bill.py
|
||||
|
||||
@@ -16,3 +16,16 @@ directories:
|
||||
upload: server/uploads
|
||||
output: server/outputs
|
||||
|
||||
# MongoDB 配置
|
||||
mongodb:
|
||||
# MongoDB 连接 URI(带认证)
|
||||
uri: mongodb://admin:password@localhost:27017
|
||||
# 数据库名称
|
||||
database: billai
|
||||
# 集合名称
|
||||
collections:
|
||||
# 原始数据集合
|
||||
raw: bills_raw
|
||||
# 清洗后数据集合
|
||||
cleaned: bills_cleaned
|
||||
|
||||
|
||||
Reference in New Issue
Block a user