Files
doc_ai_backed/config/config_prod.yaml
2025-12-10 22:23:05 +08:00

46 lines
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server:
port: 8024
mode: release # debug/release
database:
driver: mysql
host: 172.31.134.12
port: 3006
username: root
password: yoge@coder%%%123321!
dbname: doc_ai
max_idle: 10
max_open: 30
redis:
addr: 172.31.134.12:6399
password: bitwsd@8912WE!
db: 0
limit:
formula_recognition: 2
log:
appName: document_ai
level: info # debug, info, warn, error
format: json # json, console
outputPath: /app/logs/app.log # 日志文件路径
maxSize: 10 # 单个日志文件最大尺寸单位MB
maxAge: 60 # 日志保留天数
maxBackups: 100 # 保留的旧日志文件最大数量
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: LTAI5t8qXhow6NCdYDtu1saF
access_key_secret: qZ2SwYsNCEBckCVSOszH31yYwXU44A
bucket_name: texpixel-doc