This commit is contained in:
gongjiale 2024-12-18 18:19:39 +08:00
parent 790e98df98
commit bc552fe783
2 changed files with 16 additions and 18 deletions

View File

@ -6,12 +6,12 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:oracle:thin:@218.58.79.146:17521/orcl
username: system
password: oracle
# url: jdbc:oracle:thin:@10.169.28.44:1521/orcl
# username: spg_voc
# password: SPG$spgvoc_24!
# url: jdbc:oracle:thin:@218.58.79.146:17521/orcl
# username: system
# password: oracle
url: jdbc:oracle:thin:@10.169.28.44:1521/orcl
username: spg_voc
password: SPG$spgvoc_24!
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@ -71,20 +71,18 @@ spring:
# 热部署开关
enabled: true
# redis 配置
redis:
host: 192.168.1.115
port: 6379
password: Liwen073898!
# redis:
# # 地址
# host: 127.0.0.1
# host: 192.168.1.115
# port: 6379
# # 数据库索引
# database: 0
# # 密码
# password: 123456
# 连接超时时间
# timeout: 10s
# password: Liwen073898!
redis:
host: 127.0.0.1
port: 6379
# 数据库索引
database: 0
# 密码
password: 123456
timeout: 10s
lettuce:
pool:
# 连接池中的最小空闲连接