application.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. #log level
  2. logging:
  3. level:
  4. org:
  5. apache:
  6. zookeeper: WARN
  7. hadoop: WARN
  8. hibernate: ERROR
  9. #set max http header size
  10. server:
  11. tomcat:
  12. max-http-header-size: 100000
  13. #The region code, where application deployed
  14. deploy:
  15. region: 3502
  16. #EHR platform user default password
  17. default:
  18. password: 123456
  19. #Actuator
  20. management:
  21. security:
  22. enabled: false
  23. #Hystrix
  24. hystrix:
  25. command:
  26. default:
  27. execution:
  28. isolation:
  29. thread:
  30. timeoutInMilliseconds: 305000
  31. #Ribbon
  32. ribbon:
  33. ReadTimeout: 300000
  34. ConnectTimeout: 5000
  35. #Zuul
  36. zuul:
  37. #max:
  38. # host:
  39. # connections: 500
  40. host:
  41. socket-timeout-millis: 300000
  42. connect-timeout-millis: 300000
  43. #Application error definition, this file define common errors,
  44. #if the error is used only in your application, please define it in your application configuration file.
  45. ehr.common.invalid.parameter: 参数解析错误
  46. ehr.common.query.not.found: 不存在该对象
  47. ehr.common.repeat.code: 代码重复
  48. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
  49. ag-admin.server.port: 10000
  50. ag-cloud.server.port: 10400
  51. ag-zuul.server.port: 10001
  52. svr-basic.server.port: 10300
  53. svr-dfs.server.port: 10770
  54. svr-health-profile.server.port: 9009
  55. svr-pack-analyzer.server.port: 10340
  56. svr-pack-mgr.server.port: 10140
  57. svr-pack-resolve.server.port: 10170
  58. svr-quota.server.port: 10330
  59. svr-redis.server.port: 10310
  60. svr-redis-memory.server.port: 10311
  61. svr-resource.server.port: 10220
  62. svr-standard.server.port: 10040
  63. svr-authentication.server.port: 10260
  64. svr-data-analyze.server.port: 10350
  65. #Application acuator
  66. endpoints:
  67. restart:
  68. enabled: true
  69. shutdown:
  70. enabled: true
  71. health:
  72. sensitive: false
  73. spring:
  74. jmx:
  75. enabled: false
  76. jpa:
  77. database-platform: org.hibernate.dialect.MySQL5Dialect
  78. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  79. show-sql: false
  80. #session:
  81. #store-type: none
  82. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  83. cloud:
  84. inetutils:
  85. ignoredInterfaces:
  86. - docker0
  87. - veth.*
  88. - vmnet.*
  89. - TAP-Win.*
  90. - Software Loopback.*
  91. - .*VPN.*
  92. - .*Virtual.*
  93. - .*Debug.*
  94. eureka:
  95. client:
  96. serviceUrl:
  97. defaultZone: http://${eureka-server-ip}/eureka/
  98. healthcheck:
  99. enabled: false
  100. ---
  101. spring:
  102. profiles: dev
  103. eureka:
  104. instance:
  105. prefer-ip-address: false
  106. eureka-server-ip: 172.19.103.73:8761
  107. ---
  108. spring:
  109. profiles: test.
  110. eureka:
  111. instance:
  112. prefer-ip-address: false
  113. eureka-server-ip: 172.19.103.73:8761
  114. ---
  115. spring:
  116. profiles: prod_fz
  117. eureka:
  118. instance:
  119. prefer-ip-address: false
  120. eureka-server-ip: 11.1.2.1:8761
  121. ---
  122. spring:
  123. profiles: prod_fzzy
  124. eureka:
  125. instance:
  126. prefer-ip-address: false
  127. eureka-server-ip: 100.100.1.162:8761
  128. ---
  129. spring:
  130. profiles: prod_srformal
  131. eureka:
  132. instance:
  133. prefer-ip-address: false
  134. eureka-server-ip: 192.168.200.61:8761
  135. ---
  136. spring:
  137. profiles: demo_guigang
  138. eureka:
  139. instance:
  140. prefer-ip-address: false
  141. eureka-server-ip: 192.168.50.64:8761