application.yml 871 B

1234567891011121314151617181920212223242526272829303132333435
  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. context-path:
  10. svr-dashboard-context-path: /
  11. svr-web-gateway-context-path: /
  12. svr-base-context-path: /
  13. svr-wlyy-context-path: /
  14. svr-quota-context-path: /
  15. svr-logServer-context-path: /
  16. svr-configurations-context-path: /
  17. #发现服务
  18. eureka:
  19. client:
  20. healthcheck:
  21. enabled: true #启动监控检查
  22. instance:
  23. #eurika使用IP不使用host
  24. prefer-ip-address: true
  25. #定制化在eurika中显示的名称
  26. ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
  27. instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  28. leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改