fix: 生产环境配置文件修改。

This commit is contained in:
tianyongbao
2026-04-04 21:26:07 +08:00
parent eb30de4909
commit 20719de0de

View File

@@ -51,16 +51,16 @@ spring:
# username: root
# password: root
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://81.70.89.108:15432/fishery_dev?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
url: jdbc:postgresql://47.102.210.182:15432/fishery_prod?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres
password: intc@123987
password: htYkSuRn7Gb*pbFn
# 从库数据源 - TDengine
taos:
lazy: false
type: ${spring.datasource.type}
driverClassName: com.taosdata.jdbc.rs.RestfulDriver
# 不指定数据库名,在 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://47.102.210.182:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
username: root
password: intc@123456
hikari:
@@ -106,7 +106,7 @@ spring:
spring.data:
redis:
# 地址
host: 81.70.89.108
host: 47.102.210.182
# 端口默认为6379
port: 26379
# 数据库索引
@@ -258,7 +258,7 @@ aliyun:
# 消费组 ID按照官方文档应该与数据同步 AppKey 相同)
consumer-group-id: 334224409
# 客户端 ID建议使用机器 UUID、MAC 地址等唯一标识)
client-id: fishery-backend-001
client-id: fishery-backend-prod
# 连接超时时间(毫秒)
connection-timeout: 80000
# 是否自动重连