|
|
|
@ -6,4 +6,21 @@ spring:
|
|
|
|
|
name: DiscoveryCalleeService
|
|
|
|
|
cloud:
|
|
|
|
|
polaris:
|
|
|
|
|
address: grpc://127.0.0.1:8091
|
|
|
|
|
address: grpc://127.0.0.1:8081
|
|
|
|
|
consul:
|
|
|
|
|
port: 8500
|
|
|
|
|
host: 127.0.0.1
|
|
|
|
|
enabled: true
|
|
|
|
|
discovery:
|
|
|
|
|
register: true
|
|
|
|
|
health-check-path: /actuator/health
|
|
|
|
|
health-check-interval: 10s
|
|
|
|
|
instance-id: ${spring.application.name}:${server.port}
|
|
|
|
|
enabled: true
|
|
|
|
|
service-name: ${spring.application.name}
|
|
|
|
|
ip-address: localhost
|
|
|
|
|
prefer-ip-address: true
|
|
|
|
|
eureka:
|
|
|
|
|
client:
|
|
|
|
|
serviceUrl:
|
|
|
|
|
defaultZone: http://127.0.0.1:7654/eureka/
|