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