修改配置
This commit is contained in:
parent
2ec77f9a8b
commit
0a5e6fb26b
@ -151,7 +151,7 @@ spring:
|
||||
# mqtt 配置
|
||||
mqtt:
|
||||
username: admin # 账号
|
||||
password: sznyb@2025 # 密码
|
||||
password: sznyb@2025 # 密码
|
||||
host-url: tcp://47.109.205.240:1883 # mqtt连接tcp地址
|
||||
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||
default-topic: test # 默认主题
|
||||
|
@ -54,9 +54,9 @@ spring:
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://177.7.0.11:3306/frog_agriculture_tenant?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://47.109.205.240:3306/smart-agri-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: frog
|
||||
password: sznyb@2025
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
@ -67,7 +67,7 @@ spring:
|
||||
|
||||
# tdengine数据源
|
||||
tdengine:
|
||||
enabled: true # 默认不启用TDengine,true=启用,false=不启用
|
||||
enabled: false # 默认不启用TDengine,true=启用,false=不启用
|
||||
driverClassName: com.taosdata.jdbc.rs.RestfulDriver
|
||||
url: jdbc:TAOS-RS://177.7.0.16:6041?timezone=Asia/Beijing&charset=utf-8
|
||||
username: root
|
||||
@ -128,13 +128,13 @@ spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: 177.7.0.10
|
||||
host: 47.109.205.240
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
# 密码
|
||||
password: frog
|
||||
password: tairui_redis
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
@ -149,9 +149,9 @@ spring:
|
||||
max-wait: -1ms
|
||||
# mqtt 配置
|
||||
mqtt:
|
||||
username: frog # 账号
|
||||
password: frog # 密码
|
||||
host-url: tcp://emqx:1883 # mqtt连接tcp地址
|
||||
username: admin # 账号
|
||||
password: sznyb@2025 # 密码
|
||||
host-url: tcp://47.109.205.240:1883 # mqtt连接tcp地址
|
||||
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||
default-topic: test # 默认主题
|
||||
timeout: 30 # 超时时间
|
||||
@ -187,7 +187,7 @@ swagger:
|
||||
# 是否开启swagger
|
||||
enabled: true
|
||||
# 请求前缀
|
||||
pathMapping: /dev-api
|
||||
pathMapping: /prod-api
|
||||
|
||||
# 防止XSS攻击
|
||||
xss:
|
||||
@ -200,7 +200,7 @@ xss:
|
||||
|
||||
# sip 配置
|
||||
sip:
|
||||
enabled: true # 是否启用视频监控SIP,true为启用
|
||||
enabled: false # 是否启用视频监控SIP,true为启用
|
||||
ip: 177.7.0.13 # docker容器的IP地址
|
||||
port: 5061 # SIP端口(保持默认)
|
||||
domain: 3402000000 # 由省级、市级、区级、基层编号组成,参照GB/T 2260-2007,(可保持默认)
|
||||
|
Loading…
x
Reference in New Issue
Block a user