application.yml 738 B

1234567891011121314151617181920212223242526272829303132
  1. ##公共配置
  2. server:
  3. svr-dashboard-port: 9010
  4. web-gateway-port: 8088
  5. svr-base-port: 10020
  6. svr-quota-port: 10030
  7. svr-logServer-port: 9411
  8. context-path:
  9. svr-dashboard-context-path: /
  10. svr-web-gateway-context-path: /
  11. svr-base-context-path: /
  12. svr-quota-context-path: /
  13. svr-logServer-context-path: /
  14. svr-configurations-context-path: /
  15. #发现服务
  16. eureka:
  17. client:
  18. healthcheck:
  19. enabled: true #启动监控检查
  20. instance:
  21. #eurika使用IP不使用host
  22. prefer-ip-address: true
  23. #定制化在eurika中显示的名称
  24. ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
  25. instance-id: ${spring.cloud.client.ipAddress}:${server.port}