53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
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: 10
|
||
|
||
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: static.texpixel.com
|
||
inner_endpoint: oss-cn-beijing-internal.aliyuncs.com
|
||
access_key_id: LTAI5t8qXhow6NCdYDtu1saF
|
||
access_key_secret: qZ2SwYsNCEBckCVSOszH31yYwXU44A
|
||
bucket_name: texpixel-doc
|
||
|
||
|
||
mathpix:
|
||
app_id: "ocr_eede6f_ea9b5c"
|
||
app_key: "fb72d251e33ac85c929bfd4eec40d78368d08d82fb2ee1cffb04a8bb967d1db5"
|
||
|
||
baidu_ocr:
|
||
token: "e3a47bd2438f1f38840c203fc5939d17a54482d1" |