1 Star 0 Fork 9

小黑/消防配置

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
application-demo.yml 3.24 KB
一键复制 编辑 原始数据 按行查看 历史
小黑 提交于 2022-06-20 15:30 . no message
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: 123456
# 使用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: 43.142.35.71
port: 6379
password: 123456
database: 0
elasticsearch:
cluster-name: cluster01
cluster-nodes: 43.142.35.71:9200
rest:
username: esuser
password: Itat@pros
uris:
- http://43.142.35.71:9200
rabbitmq:
host: 43.142.35.71
port: 5672
username: root
password: 123456
dynamic: true
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hao_space/fire-fighting-configuration.git
git@gitee.com:hao_space/fire-fighting-configuration.git
hao_space
fire-fighting-configuration
消防配置
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385