application.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ##公共配置
  2. server:
  3. svr-dashboard-port: 9010
  4. web-gateway-port: 8088
  5. svr-base-port: 10020
  6. svr-wlyy-port: 10090
  7. svr-quota-port: 10030
  8. svr-logServer-port: 9411
  9. svr-iot-port: 10050
  10. context-path:
  11. svr-dashboard-context-path: /
  12. svr-web-gateway-context-path: /
  13. svr-base-context-path: /
  14. svr-wlyy-context-path: /
  15. svr-quota-context-path: /
  16. svr-logServer-context-path: /
  17. svr-configurations-context-path: /
  18. svr-iot-context-path: /
  19. #发现服务
  20. eureka:
  21. client:
  22. healthcheck:
  23. enabled: true #启动监控检查
  24. instance:
  25. #eurika使用IP不使用host
  26. prefer-ip-address: true
  27. #定制化在eurika中显示的名称
  28. ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
  29. instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  30. leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改
  31. yihu:
  32. admin:
  33. client:
  34. advice:
  35. http: true
  36. management:
  37. security:
  38. enabled: false
  39. endpoints:
  40. logfile:
  41. enabled: true