From c1d38bb4c5b0162770fba215c058e993f0674418 Mon Sep 17 00:00:00 2001 From: zhouxiunai <154707516@qq.com> Date: Mon, 14 Jan 2019 11:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-pro.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-pro.yml b/src/main/resources/application-pro.yml index 81d7a9ca..7e734738 100644 --- a/src/main/resources/application-pro.yml +++ b/src/main/resources/application-pro.yml @@ -84,4 +84,10 @@ elasticsearch: pool: 5 #注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致 cluster: - name: docker-cluster \ No newline at end of file + name: docker-cluster +eureka: + client: + service-url: + defaultZone: http://172.17.35.163:94/eureka/ + instance: + prefer-ip-address: true \ No newline at end of file