application.yml 921 B

12345678910111213141516171819202122232425262728293031323334353637
  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秒 一般不修改