调整nacos信息
This commit is contained in:
parent
db5f285d5b
commit
fd3d9d7a08
|
@ -20,6 +20,12 @@ management:
|
||||||
include: metrics,jeecghttptrace
|
include: metrics,jeecghttptrace
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
application:
|
||||||
|
name: nursing-unit
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
service-name: nursing-unit
|
||||||
# flyway配置
|
# flyway配置
|
||||||
flyway:
|
flyway:
|
||||||
# 是否启用flyway
|
# 是否启用flyway
|
||||||
|
|
24
pom.xml
24
pom.xml
|
@ -151,16 +151,16 @@
|
||||||
<version>${commonmark.version}</version>
|
<version>${commonmark.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Nacos 服务发现 -->
|
<!-- Nacos 服务发现 -->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>com.alibaba.cloud</groupId>
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
||||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
<!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
|
|
||||||
<!-- Nacos 配置中心 -->
|
<!-- Nacos 配置中心 -->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>com.alibaba.cloud</groupId>
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
||||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
<!-- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -476,13 +476,13 @@
|
||||||
<id>dev</id>
|
<id>dev</id>
|
||||||
<activation>
|
<activation>
|
||||||
<!--默认激活配置-->
|
<!--默认激活配置-->
|
||||||
<activeByDefault>false</activeByDefault>
|
<activeByDefault>true</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!--当前环境-->
|
<!--当前环境-->
|
||||||
<profile.name>dev</profile.name>
|
<profile.name>dev</profile.name>
|
||||||
<!--Nacos服务地址-->
|
<!--Nacos服务地址-->
|
||||||
<config.server-addr>jeecg-boot-nacos:8848</config.server-addr>
|
<config.server-addr>121.0.0.1:8848</config.server-addr>
|
||||||
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
||||||
<config.namespace></config.namespace>
|
<config.namespace></config.namespace>
|
||||||
<!--Nacos配置分组名称-->
|
<!--Nacos配置分组名称-->
|
||||||
|
@ -528,13 +528,13 @@
|
||||||
<id>uat</id>
|
<id>uat</id>
|
||||||
<activation>
|
<activation>
|
||||||
<!--默认激活配置-->
|
<!--默认激活配置-->
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>false</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<!--当前环境-->
|
<!--当前环境-->
|
||||||
<profile.name>uat</profile.name>
|
<profile.name>uat</profile.name>
|
||||||
<!--Nacos服务地址-->
|
<!--Nacos服务地址-->
|
||||||
<config.server-addr>121.36.88.64</config.server-addr>
|
<config.server-addr>nacos:8848</config.server-addr>
|
||||||
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
||||||
<config.namespace></config.namespace>
|
<config.namespace></config.namespace>
|
||||||
<!--Nacos配置分组名称-->
|
<!--Nacos配置分组名称-->
|
||||||
|
|
Loading…
Reference in New Issue