fix: 配置文件修改。

This commit is contained in:
tianyongbao
2025-12-22 11:17:36 +08:00
parent 94cc5862a4
commit ca8d3d9fb7
3 changed files with 6 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ spring:
master:
type: ${spring.datasource.type}
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://154.8.147.51:15432/intc_single_plus?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
url: jdbc:postgresql://81.70.89.108:15432/intc_single_plus?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres
password: intc@123987
# # 从库数据源
@@ -94,13 +94,13 @@ spring:
spring.data:
redis:
# 地址
host: 154.8.147.51
host: 81.70.89.108
# 端口默认为6379
port: 6379
port: 26379
# 数据库索引
database: 3
# redis 密码必须配置
password: intc@123987
password: bbd4b56e5d3f
timeout: 10s
ssl.enabled: false

View File

@@ -2,7 +2,7 @@ spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://154.8.147.51:15432/intc_single_plus?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
url: jdbc:postgresql://81.70.89.108:15432/intc_single_plus?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres
password: intc@123987
hikari:

View File

@@ -2,7 +2,7 @@ spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://154.8.147.51:15432/intc_single_plus?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
url: jdbc:postgresql://81.70.89.108:15432/intc_single_plus?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres
password: intc@123987
hikari: