implement eureka
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
server:
|
||||
port: 8085
|
||||
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:8761/eureka
|
||||
instance:
|
||||
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
||||
|
@@ -15,3 +15,10 @@ server:
|
||||
spring:
|
||||
application:
|
||||
name: timezone-service
|
||||
|
||||
eureka:
|
||||
client:
|
||||
register-with-eureka: true
|
||||
fetch-registry: true
|
||||
service-url:
|
||||
defaultZone: http://eureka-service.web:8761/eureka
|
||||
|
Reference in New Issue
Block a user