application.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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-wlyy-port: 10040
  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-quota-context-path: /
  14. svr-wlyy-context-path: /
  15. svr-logServer-context-path: /
  16. svr-configurations-context-path: /
  17. #hibernate 配置
  18. hibernate:
  19. dialect: org.hibernate.dialect.MySQL5Dialect
  20. show_sql: false
  21. ejb:
  22. naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
  23. #发现服务
  24. eureka:
  25. client:
  26. healthcheck:
  27. enabled: true #启动监控检查
  28. instance:
  29. #eurika使用IP不使用host
  30. prefer-ip-address: true
  31. #定制化在eurika中显示的名称
  32. ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
  33. instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  34. leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改
  35. ## 配置服务动态刷新
  36. #spring:
  37. # cloud:
  38. # stream:
  39. # kafka:
  40. # binder:
  41. # brokers: 172.17.110.201:9092
  42. # zkNodes: 172.17.110.201:2181
  43. # bus:
  44. # trace:
  45. # enabled: true