1 Star 0 Fork 11

耽默/消防配置

forked from 小黑/消防配置 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
device-demo.yml 2.84 KB
一键复制 编辑 原始数据 按行查看 历史
Yang 提交于 2023-02-10 16:56 . 修改88配置
logging:
level:
# tk.mybatis: INFO
cn.turing.firecontrol: DEBUG
server:
port: 2222
spring:
application:
name: turing-device
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
default-property-inclusion: non_null
# boot:
# admin:
# url: http://192.168.0.22:8766
# client:
# prefer-ip: true
redis:
host: localhost
port: 6379
password: ''
database: 0
maxIdle: 100 # 最小链接池数量
max-active: 300 # 最大连接池数量(缺省值:8)
max-wait: 10000
rabbitmq:
host: 192.168.1.88
port: 5672
username: admin
password: 123456
dynamic: true
virtual-host: /
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 192.168.1.88:9300
rest:
username:
password:
uris:
- http://192.168.1.88:9200
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/turing-device?characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
password: 123456
initial-size: 5 # 初始化时建立物理连接的个数
min-idle: 5 # 最小链接池数量
max-active: 20
# 最大连接池数量(缺省值:8)
max-wait: 60000
# 获取连接时最大等待时间,单位毫秒。
druid:
stat-view-servlet:
loginUsername: root
loginPassword: 123456
#配置数据库
mybatis:
basepackage: cn.turing.firecontrol.device.mapper
xmlLocation: classpath:mapper/**/*.xml
mapper-locations: "classpath*:mapper/*.xml"
configuration:
cache-enabled: false
map-underscore-to-camel-case: true
# 配置swagger
swagger:
enabled: true
base-package: cn.turing.firecontrol.device
title: 消防大数据
version: 1.0.0.SNAPSHOT
description: 设备管理服务
contact:
name: 北京维数科技有限公司
# global-operation-parameters[0]:
# name: Authorization
# description: access_token
# modelRef: string
# parameterType: header
# required: true
# 配置用户认证和服务认证信息
auth:
serviceId: turing-auth
user:
token-header: Authorization
limit-expire: 1440 # 一天过去,单位分钟
client:
id: turing-device
secret: 123456
token-header: client-token
mapper:
mappers: cn.turing.firecontrol.common.mapper.CommonMapper
# 配置萤石开放平台账号
yingShi:
appKey:
appSecret:
# 小花儿人工智能图像识别接口
xiaoHuaErAI:
appCode:
accuracyThreshold: 0.8 #accuracy>0.8 表示有很大可能发生火灾
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/PagesHub/fire-fighting-configuration.git
[email protected]:PagesHub/fire-fighting-configuration.git
PagesHub
fire-fighting-configuration
消防配置
master

搜索帮助