增加nacos配置空间
This commit is contained in:
parent
62fba7e356
commit
0ce0e9f402
@ -38,7 +38,9 @@ spring:
|
|||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
config:
|
config:
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
|
|||||||
@ -11,7 +11,9 @@ spring:
|
|||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
config:
|
config:
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
|
|||||||
@ -11,7 +11,9 @@ spring:
|
|||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
config:
|
config:
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
|
|||||||
@ -18,6 +18,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>ch.qos.logback</groupId>
|
||||||
|
<artifactId>logback-classic</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -11,7 +11,9 @@ spring:
|
|||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
config:
|
config:
|
||||||
|
namespace: ${spring.profiles.active}
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.8.146:32470
|
server-addr: 192.168.8.146:32470
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
|
|||||||
@ -39,6 +39,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>ch.qos.logback</groupId>
|
||||||
|
<artifactId>logback-classic</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
<version>${spring.cloud.version}</version>
|
<version>${spring.cloud.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -50,6 +56,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>ch.qos.logback</groupId>
|
||||||
|
<artifactId>logback-classic</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
<version>${redis.boot.reactor.version}</version>
|
<version>${redis.boot.reactor.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@ -57,12 +69,24 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>ch.qos.logback</groupId>
|
||||||
|
<artifactId>logback-classic</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 下面都是響應式數據庫相關 r2dbc啓動類-->
|
<!-- 下面都是響應式數據庫相關 r2dbc啓動類-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-r2dbc</artifactId>
|
<artifactId>spring-boot-starter-data-r2dbc</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>ch.qos.logback</groupId>
|
||||||
|
<artifactId>logback-classic</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
<version>${spring.boot.version}</version>
|
<version>${spring.boot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- ORM工具,數據 -->
|
<!-- ORM工具,數據 -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user