All Downloads are FREE. Search and download functionalities are using the official Maven repository.

c.spring-boot-admin-sample-eureka.3.3.4.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
spring:
  application:
    name: spring-boot-admin-sample-eureka
  profiles:
    active:
      - secure


# tag::configuration-eureka[]
eureka:   #<1>
  instance:
    leaseRenewalIntervalInSeconds: 10
    health-check-url-path: /actuator/health
    metadata-map:
      startup: ${random.int}    #needed to trigger info and endpoint update after restart
  client:
    registryFetchIntervalSeconds: 5
    serviceUrl:
      defaultZone: ${EUREKA_SERVICE_URL:http://localhost:8761}/eureka/

management:
  endpoints:
    web:
      exposure:
        include: "*"  #<2>
  endpoint:
    health:
      show-details: ALWAYS
# end::configuration-eureka[]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy