2025-12-10 18:33:37 +08:00
|
|
|
|
server:
|
|
|
|
|
|
port: 8024
|
|
|
|
|
|
mode: debug # debug/release
|
|
|
|
|
|
|
|
|
|
|
|
database:
|
|
|
|
|
|
driver: mysql
|
2025-12-17 21:40:18 +08:00
|
|
|
|
host: mysql
|
|
|
|
|
|
port: 3306 # 容器内部端口,不是宿主机映射的 3006
|
2025-12-10 18:33:37 +08:00
|
|
|
|
username: root
|
2025-12-17 21:40:18 +08:00
|
|
|
|
password: texpixel#pwd123!
|
2025-12-10 18:33:37 +08:00
|
|
|
|
dbname: doc_ai
|
|
|
|
|
|
max_idle: 10
|
|
|
|
|
|
max_open: 100
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
2025-12-17 21:40:18 +08:00
|
|
|
|
addr: redis:6379 # 容器内部端口,不是宿主机映射的 6079
|
2025-12-10 18:33:37 +08:00
|
|
|
|
password: yoge@123321!
|
|
|
|
|
|
db: 0
|
|
|
|
|
|
|
|
|
|
|
|
limit:
|
|
|
|
|
|
formula_recognition: 3
|
|
|
|
|
|
|
|
|
|
|
|
log:
|
|
|
|
|
|
appName: document_ai
|
|
|
|
|
|
level: info # debug, info, warn, error
|
|
|
|
|
|
format: console # json, console
|
|
|
|
|
|
outputPath: ./logs/app.log # 日志文件路径
|
|
|
|
|
|
maxSize: 2 # 单个日志文件最大尺寸,单位MB
|
|
|
|
|
|
maxAge: 1 # 日志保留天数
|
|
|
|
|
|
maxBackups: 1 # 保留的旧日志文件最大数量
|
|
|
|
|
|
compress: false # 是否压缩旧日志
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
aliyun:
|
|
|
|
|
|
sms:
|
|
|
|
|
|
access_key_id: "LTAI5tB9ur4ExCF4dYPq7hLz"
|
|
|
|
|
|
access_key_secret: "91HulOdaCpwhfBesrUDiKYvyi0Qkx1"
|
|
|
|
|
|
sign_name: "北京比特智源科技"
|
|
|
|
|
|
template_code: "SMS_291510729"
|
|
|
|
|
|
|
|
|
|
|
|
oss:
|
|
|
|
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
|
|
|
|
inner_endpoint: oss-cn-beijing-internal.aliyuncs.com
|
|
|
|
|
|
access_key_id: LTAI5tKogxeiBb4gJGWEePWN
|
|
|
|
|
|
access_key_secret: l4oCxtt5iLSQ1DAs40guTzKUfrxXwq
|
|
|
|
|
|
bucket_name: bitwsd-doc-ai
|