2024-01-03 09:48:43 +08:00
|
|
|
|
spring.application.name=integrated_whb
|
|
|
|
|
server.port=8099
|
|
|
|
|
|
|
|
|
|
datasource.no1.driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
datasource.no1.url=jdbc:mysql://192.168.0.42:3306/integrated_whb?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8
|
|
|
|
|
datasource.no1.username=root
|
|
|
|
|
datasource.no1.password=root
|
|
|
|
|
|
2024-01-04 10:07:06 +08:00
|
|
|
|
#数据源2(默认没用,俩地址写一样即可)
|
|
|
|
|
datasource.no2.driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
datasource.no2.url=jdbc:mysql://192.168.0.42:3306/zcloud-admin?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf-8
|
|
|
|
|
datasource.no2.username=root
|
|
|
|
|
datasource.no2.password=root
|
|
|
|
|
|
2024-01-03 09:48:43 +08:00
|
|
|
|
#druid连接池
|
|
|
|
|
spring.datasource.type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
#最大活跃数
|
|
|
|
|
spring.datasource.maxActive: 20
|
|
|
|
|
#初始化数量
|
|
|
|
|
spring.datasource.initialSize: 1
|
|
|
|
|
#最大连接等待超时时间
|
|
|
|
|
spring.datasource.maxWait: 60000
|
|
|
|
|
#打开PSCache,并且指定每个连接PSCache的大小
|
|
|
|
|
spring.datasource.poolPreparedStatements: true
|
|
|
|
|
spring.datasource.maxPoolPreparedStatementPerConnectionSize: 20
|
|
|
|
|
#通过connectionProperties属性来打开mergeSql功能;慢SQL记录
|
|
|
|
|
#connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
|
|
|
|
spring.datasource.minIdle: 1
|
|
|
|
|
spring.datasource.timeBetweenEvictionRunsMillis: 60000
|
|
|
|
|
spring.datasource.minEvictableIdleTimeMillis: 300000
|
|
|
|
|
spring.datasource.validationQuery: select 1 from dual
|
|
|
|
|
spring.datasource.testWhileIdle: true
|
|
|
|
|
spring.datasource.testOnBorrow: false
|
|
|
|
|
spring.datasource.testOnReturn: false
|
|
|
|
|
#配置监控统计拦截的filters,去掉后监控界面sql将无法统计,'wall'用于防火墙
|
|
|
|
|
filters: stat, wall, log4j
|
|
|
|
|
|
|
|
|
|
#缓存配置文件位置
|
|
|
|
|
spring.cache.ehcache.cofnig=ehcache.xml
|
|
|
|
|
|
|
|
|
|
#配置这句话,控制台输出sql语句
|
|
|
|
|
logging.level.com.zcloud.mapper=debug
|
|
|
|
|
|
|
|
|
|
#上传文件大小限制
|
|
|
|
|
spring.servlet.multipart.max-file-size=500MB
|
|
|
|
|
spring.servlet.multipart.max-request-size=500MB
|
|
|
|
|
|
|
|
|
|
#activiti模型检测
|
|
|
|
|
spring.activiti.check-process-definitions=false
|
|
|
|
|
|
2024-01-05 08:51:44 +08:00
|
|
|
|
#Mq配置
|
|
|
|
|
rocketmq.consumer.group2=edu-admin-edit
|
|
|
|
|
rocketmq.consumer.group1=edu-admin-add
|
|
|
|
|
rocketmq.name-server=172.24.151.18:9876
|
|
|
|
|
rocketmq.producer.group=libmiddle
|
|
|
|
|
rocketmq.producer.send-message-timeout=3000
|
|
|
|
|
rocketmq.producer.compress-message-body-threshold=4096
|
|
|
|
|
rocketmq.producer.max-message-size=4194304
|
|
|
|
|
rocketmq.producer.retry-times-when-send-failed=3
|
|
|
|
|
rocketmq.producer.retry-next-server=true
|
|
|
|
|
rocketmq.producer.retry-times-when-send-async-failed=3
|
|
|
|
|
## topic 前缀
|
|
|
|
|
|
|
|
|
|
mq.topic.info=info
|
|
|
|
|
mq.topic.eightWork=eightWork
|
|
|
|
|
mq.group.info=scheduled_tasks
|
|
|
|
|
mq.group.eightWork=scheduled_tasks_eightWork
|
|
|
|
|
|
2024-01-03 09:48:43 +08:00
|
|
|
|
#字符
|
|
|
|
|
spring.http.encoding.charset=UTF-8
|
|
|
|
|
spring.http.encoding.force=true
|
|
|
|
|
spring.http.encoding.enabled=true
|
|
|
|
|
# 关闭springboot启动时的banner
|
|
|
|
|
spring.main.banner-mode=off
|
|
|
|
|
#jar包部署时去掉注释
|
|
|
|
|
#web.upload-path=h:/
|
|
|
|
|
#web.front-path=h:/
|
|
|
|
|
#spring.resources.static-locations=file:${web.upload-path},file:${web.front-path}
|
|
|
|
|
config.basicInfo.id=011de03c1d0a412ca78e2e5d4637ea81
|
|
|
|
|
config.basic.url=http://192.168.0.7:8082/zcouldProperty
|
2024-01-04 10:17:08 +08:00
|
|
|
|
|
|
|
|
|
customer.id=LAZ-20221129-3
|
|
|
|
|
customer.SECRET_KEY=a256e8575c3f4240b08f6350f13ce8e2
|
|
|
|
|
#开发
|
|
|
|
|
customer.url=https://api.qhdsafety.com/sync/
|
|
|
|
|
customer.domain=video.qhdsafety.com
|