application.yml 848 B

12345678910111213141516171819
  1. server:
  2. port: 8101
  3. eureka:
  4. client:
  5. service-url:
  6. defaultZone: http://QingSe:hello@eureka-7001.com:7001/eureka,http://QingSe:hello@eureka-7002.com:7002/eureka,http://QingSe:hello@eureka-7003.com:7003/eureka #绑定到此地址中的eureka注册中心
  7. instance:
  8. instance-id: dept-8001.com #信息列表时显示的主机名称
  9. prefer-ip-address: true #访问路径地址更改为IP
  10. lease-expiration-duration-in-seconds: 5 #距离上一次心跳的时间,超过则认为是宕机
  11. lease-renewal-interval-in-seconds: 2 #设置心跳的间隔时间
  12. info:
  13. app.name: hhj-microcloud
  14. company.name: www.hhj.cn
  15. build.artifactId: $project.artifactId$
  16. build.version: $project.verson$
  17. spring:
  18. application:
  19. name: microcloud-provider-company