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: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:oracle:thin:@218.58.79.146:17521/orcl # url: jdbc:oracle:thin:@218.58.79.146:17521/orcl
username: system # username: system
password: oracle # password: oracle
# url: jdbc:oracle:thin:@10.169.28.44:1521/orcl url: jdbc:oracle:thin:@10.169.28.44:1521/orcl
# username: spg_voc username: spg_voc
# password: SPG$spgvoc_24! password: SPG$spgvoc_24!
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭

View File

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