From 237ca779bd4def05e398133a09090becbe4fe88b Mon Sep 17 00:00:00 2001 From: lzh Date: Thu, 22 Sep 2022 09:55:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Nacos=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E5=92=8CRedis=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anrui-gateway/src/main/resources/application-devv.yml | 6 +++--- anrui-gateway/src/main/resources/application-test.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/anrui-gateway/src/main/resources/application-devv.yml b/anrui-gateway/src/main/resources/application-devv.yml index b4cd9fb9f3..b1765f73e1 100644 --- a/anrui-gateway/src/main/resources/application-devv.yml +++ b/anrui-gateway/src/main/resources/application-devv.yml @@ -4,16 +4,16 @@ spring: cloud: nacos: discovery: - server-addr: 127.0.0.1:8848 + server-addr: 39.104.100.138:8848 redis: database: 3 # Redis数据库索引(默认为0) - host: 127.0.0.1 + host: 39.104.100.138 jedis: pool: max-active: -1 #连接池最大连接数(使用负值表示没有限制) max-idle: 8 #连接池中的最大空闲连接 max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) min-idle: 0 # 连接池中的最小空闲连接 - password: 123456 + password: port: 6379 timeout: 0 # 连接超时时间(毫秒) \ No newline at end of file diff --git a/anrui-gateway/src/main/resources/application-test.yml b/anrui-gateway/src/main/resources/application-test.yml index efaa1c666f..110b60e51a 100644 --- a/anrui-gateway/src/main/resources/application-test.yml +++ b/anrui-gateway/src/main/resources/application-test.yml @@ -4,16 +4,16 @@ spring: cloud: nacos: discovery: - server-addr: 39.104.100.138:8848 + server-addr: nacos:8848 redis: database: 3 # Redis数据库索引(默认为0) - host: 39.104.100.138 + host: redis jedis: pool: max-active: -1 #连接池最大连接数(使用负值表示没有限制) max-idle: 8 #连接池中的最大空闲连接 max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) min-idle: 0 # 连接池中的最小空闲连接 - password: 123456 + password: port: 6379 timeout: 0 # 连接超时时间(毫秒) \ No newline at end of file