diff --git a/src/main/resources/application-pro.yml b/src/main/resources/application-pro.yml index 25c2244..5e3674e 100644 --- a/src/main/resources/application-pro.yml +++ b/src/main/resources/application-pro.yml @@ -60,4 +60,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