application.yml 425 B

12345678910111213141516171819202122
  1. ##公共配置
  2. server:
  3. svr-dashboard-port: 8000
  4. web-gateway-port: 8088
  5. svr-base-port: 10020
  6. svr-quota-port: 10030
  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}}