config: 直接提交 application.yml(删 .example 模板)
- 删除 .gitignore 对 application.yml 的忽略 - 删除 application.yml.example 和 application.yml.bak-pua - 提交真实配置(rustfsadmin 凭证)用于直接部署
This commit is contained in:
24
java-svc/src/main/resources/application.yml
Normal file
24
java-svc/src/main/resources/application.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
spring:
|
||||
application:
|
||||
name: word-file-parse
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
wordparse:
|
||||
tmp-path: ${java.io.tmpdir}
|
||||
image-scaling-factor: 2.0
|
||||
transform-scripts-path: /opt/transform
|
||||
python-command: python3
|
||||
symbol-base-url: https://fs.code-lab.cn/temp/wordparse-symbols/
|
||||
convert-unicode-symbols: true
|
||||
oss:
|
||||
endpoint: https://fs.code-lab.cn
|
||||
access-key: rustfsadmin
|
||||
secret-key: rustfsadmin_sTwHez
|
||||
bucket: word-parse
|
||||
prefix: office/file/parse/
|
||||
Reference in New Issue
Block a user