fix: 切换配置文件,修改为内网地址。

This commit is contained in:
tianyongbao
2026-04-06 08:34:29 +08:00
parent a83a363a76
commit d2e47f6329

View File

@@ -51,7 +51,7 @@ spring:
# username: root
# password: root
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://47.102.210.182:15432/fishery_prod?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
url: jdbc:postgresql://172.16.42.181:15432/fishery_prod?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres
password: htYkSuRn7Gb*pbFn
# 从库数据源 - TDengine
@@ -60,7 +60,7 @@ spring:
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://172.16.42.181:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
username: root
password: intc@123456
hikari:
@@ -106,13 +106,13 @@ spring:
spring.data:
redis:
# 地址
host: 47.102.210.182
host: 172.16.42.181
# 端口默认为6379
port: 26379
# 数据库索引
database: 9
# redis 密码必须配置
password: htYkSuRn7Gb*pbFn
password: bbd4b56e5d3f
# 连接超时时间
timeout: 10s
# 是否开启ssl