Skip to content

Commit c6dd70f

Browse files
committed
修改各应用的注册中心配置
1 parent 018e0bb commit c6dd70f

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

src/main/resources/application.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
server:
22
port: 8001
33

4-
eureka:
5-
client:
6-
serviceUrl:
7-
defaultZone: http://${EUREKA_ZONE_HOST:localhost}:${EUREKA_ZONE_PORT:8761}/eureka/
8-
94
spring:
105
application:
116
name: authentication-server
7+
cloud:
8+
nacos:
9+
discovery:
10+
server-addr: ${REGISTER_HOST:localhost}:${REGISTER_PORT:8848}
11+
1212
rabbitmq:
1313
host: ${RABBIT_MQ_HOST:localhost}
1414
port: ${RABBIT_MQ_PORT:5672}

src/test/resources/application.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
server:
22
port: 9001
33

4-
eureka:
5-
client:
6-
serviceUrl:
7-
defaultZone: http://${EUREKA_ZONE_HOST:localhost}:${EUREKA_ZONE_PORT:8761}/eureka/
8-
94
spring:
105
datasource:
116
druid:

0 commit comments

Comments
 (0)