fix: 测试服,取消接入amqp,数据库改用内网。

This commit is contained in:
tianyongbao
2026-04-11 17:01:47 +08:00
parent 222f74a7e1
commit cddaa2c63c

View File

@@ -51,16 +51,16 @@ spring:
# username: root # username: root
# password: root # password: root
driverClassName: org.postgresql.Driver driverClassName: org.postgresql.Driver
url: jdbc:postgresql://81.70.89.108:15432/fishery_test?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true url: jdbc:postgresql://172.16.42.181:15432/fishery_test?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres username: postgres
password: intc@123987 password: htYkSuRn7Gb*pbFn
# 从库数据源 - TDengine # 从库数据源 - TDengine
taos: taos:
lazy: false lazy: false
type: ${spring.datasource.type} type: ${spring.datasource.type}
driverClassName: com.taosdata.jdbc.rs.RestfulDriver driverClassName: com.taosdata.jdbc.rs.RestfulDriver
# 不指定数据库名,在 SQL 中使用完整路径 fishery.table_name # 不指定数据库名,在 SQL 中使用完整路径 fishery.table_name
url: jdbc:TAOS-RS://81.70.89.108:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8 url: jdbc:TAOS-RS://172.16.42.181:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
username: root username: root
password: intc@123456 password: intc@123456
hikari: hikari:
@@ -106,11 +106,11 @@ spring:
spring.data: spring.data:
redis: redis:
# 地址 # 地址
host: 81.70.89.108 host: 172.16.42.181
# 端口默认为6379 # 端口默认为6379
port: 26379 port: 26379
# 数据库索引 # 数据库索引
database: 9 database: 6
# redis 密码必须配置 # redis 密码必须配置
password: bbd4b56e5d3f password: bbd4b56e5d3f
# 连接超时时间 # 连接超时时间
@@ -250,7 +250,7 @@ aliyun:
# AMQP 服务端订阅配置(使用数据同步的 AppKey + AppSecret # AMQP 服务端订阅配置(使用数据同步的 AppKey + AppSecret
amqp: amqp:
# 是否启用 # 是否启用
enabled: true enabled: false
# 数据同步 AppKey与上面的 app-key 不同!) # 数据同步 AppKey与上面的 app-key 不同!)
data-sync-app-key: 334224409 data-sync-app-key: 334224409
# 数据同步 AppSecret请在阿里云控制台查看 # 数据同步 AppSecret请在阿里云控制台查看