application.yml 433 B

12345678910111213141516171819202122
  1. ##公共配置
  2. server:
  3. svr-configurations-port: 1221
  4. svr-discovery-port: 8761
  5. svr-base-port: 10020
  6. web-gateway-port: 8088
  7. #发现服务
  8. eureka:
  9. client:
  10. healthcheck:
  11. enabled: true #启动监控检查
  12. instance:
  13. #eurika使用IP不使用host
  14. prefer-ip-address: true
  15. #定制化在eurika中显示的名称
  16. instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}