application.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. svr-iot-port: 10050
  10. context-path:
  11. svr-dashboard-context-path: /
  12. svr-web-gateway-context-path: /
  13. svr-base-context-path: /
  14. svr-wlyy-context-path: /
  15. svr-quota-context-path: /
  16. svr-logServer-context-path: /
  17. svr-configurations-context-path: /
  18. svr-iot-context-path: /
  19. #发现服务
  20. eureka:
  21. client:
  22. healthcheck:
  23. enabled: true #启动监控检查
  24. instance:
  25. #eurika使用IP不使用host
  26. prefer-ip-address: true
  27. #定制化在eurika中显示的名称
  28. ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
  29. instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  30. leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改
  31. yihu:
  32. admin:
  33. client:
  34. advice:
  35. http: true
  36. management:
  37. security:
  38. enabled: false
  39. endpoints:
  40. logfile:
  41. enabled: true
  42. ---
  43. spring:
  44. profiles: jwdev
  45. yihu:
  46. admin:
  47. client:
  48. advice:
  49. sql: false
  50. http: true
  51. server:
  52. ip: 127.0.0.1
  53. port: 8999
  54. ---
  55. spring:
  56. profiles: jwtest
  57. yihu:
  58. admin:
  59. client:
  60. advice:
  61. sql: false
  62. http: true
  63. server:
  64. ip: 127.0.0.1
  65. port: 8999
  66. ---
  67. spring:
  68. profiles: jwprod
  69. yihu:
  70. admin:
  71. client:
  72. advice:
  73. sql: false
  74. http: true
  75. server:
  76. ip: 127.0.0.1
  77. port: 8999