145 lines
3.4 KiB
YAML
145 lines
3.4 KiB
YAML
# 开发环境配置
|
|
---
|
|
server:
|
|
port: 9081
|
|
servlet:
|
|
context-path: /point-strategy
|
|
tomcat:
|
|
uriEncoding: UTF-8
|
|
max-threads: 1000
|
|
max-connections: 20000
|
|
|
|
spring:
|
|
# 开发环境数据源配置
|
|
datasource:
|
|
driverClassName: com.mysql.jdbc.Driver
|
|
url: jdbc:mysql://100.64.11.2:3311/enterprise_digital_archives?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
|
|
username: root
|
|
password: Abc@123456
|
|
|
|
# 开发环境Redis配置
|
|
redis:
|
|
database: 2
|
|
host: 100.64.11.2
|
|
port: 6379
|
|
password: Abc123456
|
|
pool:
|
|
max-active: 200
|
|
max-wait: -1
|
|
max-idle: 10
|
|
min-idle: 0
|
|
timeout: 50000
|
|
|
|
# 文件上传配置
|
|
servlet:
|
|
multipart:
|
|
max-file-size: -1
|
|
max-request-size: -1
|
|
|
|
# Elasticsearch配置
|
|
elasticsearch:
|
|
rest:
|
|
uris: http://127.0.0.1:9200
|
|
|
|
# MyBatis配置
|
|
mybatis:
|
|
mapper-locations: classpath:mapper/*.xml
|
|
type-aliases-package: com.point.strategy.fond.bean,com.point.strategy.docSimpleArrange.bean,com.point.strategy.docTraditionArrange.docFile.bean,com.point.strategy.docTraditionArrange.docVolume.bean,com.point.strategy.bean
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
call-setters-on-nulls: true
|
|
|
|
# 开发环境日志配置
|
|
logging:
|
|
level:
|
|
org.springframework.boot.autoconfigure: info
|
|
com.point.strategy: debug
|
|
config: classpath:logback-spring.xml
|
|
|
|
# Swagger配置
|
|
swagger:
|
|
show: true
|
|
|
|
# 档案XML生成配置
|
|
archiveXML:
|
|
generate: false
|
|
|
|
# 开发环境文件路径配置
|
|
upload:
|
|
path: /Users/ab/Desktop/tmp/data/tomcat/webapps/upload
|
|
temp:
|
|
path: /Users/ab/Desktop/tmp/data/tempPath
|
|
unzip:
|
|
path: /Users/ab/Desktop/tmp/data/unzip
|
|
img:
|
|
upload: /Users/ab/Desktop/tmp/data/upload/
|
|
report:
|
|
path: /Users/ab/Desktop/tmp/data/report/path/
|
|
|
|
# 网络上传文件临时路径配置
|
|
net:
|
|
upload:
|
|
# Windows环境路径
|
|
win:
|
|
filePath: "D:\\fileAll\\"
|
|
targetPath: "D:\\testFile"
|
|
# Linux环境路径
|
|
linux:
|
|
filePath: "/home/fileAll/"
|
|
targetPath: "/home/testFile"
|
|
upload-two:
|
|
# Windows环境路径
|
|
win:
|
|
filePath: "D:\\fileAllTwo\\"
|
|
targetPath: "D:\\testFileTwo"
|
|
# Linux环境路径
|
|
linux:
|
|
filePath: "/home/fileAllTwo/"
|
|
targetPath: "/home/testFileTwo"
|
|
jzt:
|
|
# Windows环境路径
|
|
win:
|
|
filePath: "D:\\fileAll\\"
|
|
targetPath: "D:\\testFile"
|
|
# Linux环境路径
|
|
linux:
|
|
filePath: "/opt/fileAll/"
|
|
targetPath: "/opt/testFile"
|
|
|
|
# 友虹OCR配置
|
|
youhong:
|
|
integrate: true
|
|
baseUrl: http://localhost:9000/v1/
|
|
|
|
# 湿度监控IP
|
|
humidityIp: 10.19.16.64:1433
|
|
|
|
# 上架IP
|
|
shelvingIp: 10.19.16.64:1236
|
|
|
|
# 移车系统集成配置
|
|
ycj:
|
|
driverClassName: com.mysql.jdbc.Driver
|
|
url: jdbc:mysql://10.71.102.152:3306/dagl?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
|
|
username: ezdagl
|
|
password: ezdagl#20241120
|
|
|
|
# 市公司业务数据系统集成配置
|
|
cityBusiness:
|
|
driverClassName: com.mysql.jdbc.Driver
|
|
url: jdbc:mysql://localhost:3306/citybusiness?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&connectTimeout=5000&socketTimeout=5000
|
|
username: root
|
|
password: Abc@123456
|
|
|
|
# 温湿度监控API配置
|
|
temperature:
|
|
getAllWareHouseList: http://192.168.0.126:8080/api/getAllWareHouseList
|
|
getAirRealTimeAnd24HDataByWareHouseId: http://192.168.0.126:8080/api/getAirRealTimeAnd24HDataByWareHouseId
|
|
|
|
# OCR配置
|
|
ocr:
|
|
tessPath: ${TESS_PATH:D://install//tesseract-ocr}
|
|
#
|
|
|
|
|
|
|