1 Star 0 Fork 11

rtpay/fireconfig

forked from wlz/fireconfig 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
application-demo.yml 3.22 KB
一键复制 编辑 原始数据 按行查看 历史
wlz 提交于 2021-09-07 12:54 . update application-demo.yml.
spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
default-property-inclusion: always
datasource:
name: turing
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
username: root
password: root
# 使用druid数据源
druid:
filters: stat
maxActive: 20
initialSize: 5
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: select 'x'
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
redis:
host: 39.105.215.28
port: 6379
password: 123456
database: 0
elasticsearch:
cluster-name: cluster01
cluster-nodes: 39.105.215.28:9200
rest:
username: esuser
password: Itat@pros
uris:
- http://39.105.215.28:9200
rabbitmq:
host: 39.105.215.28
port: 5672
username: root
password: root
template:
retry: # 重试
enabled: true
initial-interval: 2000
zipkin:
enabled: true
sleuth:
sampler:
percentage: 1
http:
encoding:
force: true
charset: UTF-8
enabled: true
multipart:
max-file-size: 50Mb
max-request-size: 50Mb
server:
tomcat:
uri-encoding: UTF-8
eureka:
client:
healthcheck:
enabled: true
feign:
httpclient:
enabled: false
okhttp:
enabled: true
ribbon:
eureka:
enabled: true
ReadTimeout: 50000
ConnectTimeout: 50000
MaxAutoRetries: 0
MaxAutoRetriesNextServer: 1
OkToRetryOnAllOperations: false
hystrix:
threadpool:
default:
coreSize: 1000 ##并发执行的最大线程数,默认10
maxQueueSize: 1000 ##BlockingQueue的最大队列数
queueSizeRejectionThreshold: 500 ##即使maxQueueSize没有达到,达到queueSizeRejectionThreshold该值后,请求也会被拒绝
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 50000
jwt:
token-header: Authorization
expire: 3600 # 单位秒
rsa-secret: xx1WET12^%3^(WE45
user-service: turing-admin
management:
security:
enabled: false
endpoints:
enabled: false
# 阿里云推送配置信息
vms:
aliyun:
accessKeyId:
accessKeySecret:
calledNumber:
templateNo:
fireTemplateNo:
# 阿里云推送配置信息
sms:
feige:
account:
pwd:
signId:
alarmTemplateId:
earlyWarningTemplateId:
fireTemplateId:
ailiyun:
SignName:
fireTemplateNo:
videoTemplateNo:
tmc:
config:
rabbitmq:
abnormal:
websocket:
exchange: tmc.alarm.${spring.profiles.active}
routingKey: websocket
queue: ${tmc.config.rabbitmq.abnormal.websocket.exchange}.${spring.cloud.client.ipAddress}
msg:
exchange: tmc.abnormal.${spring.profiles.active}
routingKey: abnormal
queue: tmc.abnormal.${spring.profiles.active}
elasicSearch:
abnormal:
index: sensor_abnormal
type:
firedoor: firedoor
#新加 mybatis中字段驼峰映射
mybatis:
configuration:
map-underscore-to-camel-case: true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rtpay/fireconfig.git
git@gitee.com:rtpay/fireconfig.git
rtpay
fireconfig
fireconfig
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385