开发环境配置文件

This commit is contained in:
shih
2026-05-06 15:15:28 +08:00
parent 3a87998d74
commit a6232a4734

View File

@@ -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 # 超时时间