开发环境配置文件
This commit is contained in:
@@ -44,6 +44,12 @@ spring:
|
|||||||
# url: jdbc:mysql://localhost:3306/lideeiot_2.0?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
# url: jdbc:mysql://localhost:3306/lideeiot_2.0?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
# username: root
|
# username: root
|
||||||
# password: lidee
|
# password: lidee
|
||||||
|
maintenance_repair_data:
|
||||||
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://192.168.1.243:3306/gr_report?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
|
username: root
|
||||||
|
password: gryy@8888
|
||||||
shardingsphere:
|
shardingsphere:
|
||||||
# props:
|
# props:
|
||||||
# 是否显示 ShardingSpher 的sql,用于Debug
|
# 是否显示 ShardingSpher 的sql,用于Debug
|
||||||
@@ -101,7 +107,7 @@ spring:
|
|||||||
host: localhost # 地址
|
host: localhost # 地址
|
||||||
port: 6379 # 端口,默认为6379
|
port: 6379 # 端口,默认为6379
|
||||||
database: 3 # 数据库索引
|
database: 3 # 数据库索引
|
||||||
password: lidee@123 # 密码
|
# password: lidee@123 # 密码
|
||||||
timeout: 10s # 连接超时时间
|
timeout: 10s # 连接超时时间
|
||||||
lettuce:
|
lettuce:
|
||||||
pool:
|
pool:
|
||||||
@@ -111,9 +117,9 @@ spring:
|
|||||||
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||||
# mqtt 配置
|
# mqtt 配置
|
||||||
mqtt:
|
mqtt:
|
||||||
username: lidee # 账号
|
username: admin # 账号
|
||||||
password: lidee # 密码
|
password: gryy@8888 # 密码
|
||||||
host-url: tcp://localhost:1883 # mqtt连接tcp地址
|
host-url: tcp://193.168.1.252:1883 # mqtt连接tcp地址
|
||||||
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||||
default-topic: test # 默认主题
|
default-topic: test # 默认主题
|
||||||
timeout: 30 # 超时时间
|
timeout: 30 # 超时时间
|
||||||
|
|||||||
Reference in New Issue
Block a user