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