From 50d218f51bd77a83143aa9eb1a7a44a30b996f67 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 19 Jun 2023 10:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-pre.properties | 3 +++ .../src/main/resources/application-pro.properties | 2 ++ .../src/main/resources/application-test.properties | 3 +++ 3 files changed, 8 insertions(+) diff --git a/servers/boe-server-all/src/main/resources/application-pre.properties b/servers/boe-server-all/src/main/resources/application-pre.properties index 74f82771..8398954c 100644 --- a/servers/boe-server-all/src/main/resources/application-pre.properties +++ b/servers/boe-server-all/src/main/resources/application-pre.properties @@ -4,6 +4,9 @@ spring.redis.host=10.251.160.38 spring.redis.password=qwert!W577 spring.redis.port=6379 +# cloud nacos config +spring.application.cloud.nacos.discovery.server-addr=10.251.181.11:8848 + ## datasource config spring.jpa.hibernate.ddl-auto=update spring.datasource.driverClassName=com.mysql.jdbc.Driver diff --git a/servers/boe-server-all/src/main/resources/application-pro.properties b/servers/boe-server-all/src/main/resources/application-pro.properties index ce18d282..a85c2499 100644 --- a/servers/boe-server-all/src/main/resources/application-pro.properties +++ b/servers/boe-server-all/src/main/resources/application-pro.properties @@ -27,6 +27,8 @@ server.tomcat.max-keep-alive-requests=200 # 默认是100, 超过最大连接数,可以接收的排队的请求数量 server.tomcat.accept-count=200 +# cloud nacos config +spring.application.cloud.nacos.discovery.server-addr=10.251.181.11:8848 ## redis spring.redis.database=2 diff --git a/servers/boe-server-all/src/main/resources/application-test.properties b/servers/boe-server-all/src/main/resources/application-test.properties index 59ca15f8..d8dacc6e 100644 --- a/servers/boe-server-all/src/main/resources/application-test.properties +++ b/servers/boe-server-all/src/main/resources/application-test.properties @@ -4,6 +4,9 @@ spring.redis.host=10.251.160.38 spring.redis.password=qwert!W577 spring.redis.port=6379 +# cloud nacos config +spring.application.cloud.nacos.discovery.server-addr=10.251.181.11:8848 + ## datasource config spring.jpa.hibernate.ddl-auto=none spring.datasource.driverClassName=com.mysql.jdbc.Driver