From 9f83da1cda64fa7553a7ea017406d5160a9656d6 Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 20 Oct 2020 11:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sop-story/src/main/resources/application-dev.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sop-example/sop-story/src/main/resources/application-dev.properties b/sop-example/sop-story/src/main/resources/application-dev.properties index ea5b6216..5ce2d493 100644 --- a/sop-example/sop-story/src/main/resources/application-dev.properties +++ b/sop-example/sop-story/src/main/resources/application-dev.properties @@ -1,5 +1,6 @@ server.port=2222 spring.application.name=story-service +register.url=127.0.0.1:8848 # 注册中心 -spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 +spring.cloud.nacos.discovery.server-addr=${register.url}