application.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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. #Application acuator
  65. endpoints:
  66. restart:
  67. enabled: true
  68. shutdown:
  69. enabled: true
  70. health:
  71. sensitive: false
  72. spring:
  73. jmx:
  74. enabled: false
  75. jpa:
  76. database-platform: org.hibernate.dialect.MySQL5Dialect
  77. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  78. show-sql: false
  79. #session:
  80. #store-type: none
  81. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  82. cloud:
  83. inetutils:
  84. ignoredInterfaces:
  85. - docker0
  86. - veth.*
  87. - vmnet.*
  88. - TAP-Win.*
  89. - Software Loopback.*
  90. - .*VPN.*
  91. - .*Virtual.*
  92. - .*Debug.*
  93. eureka:
  94. client:
  95. serviceUrl:
  96. defaultZone: http://${eureka-server-ip}/eureka/
  97. healthcheck:
  98. enabled: false
  99. ---
  100. spring:
  101. profiles: dev
  102. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  103. #else the server must have host map.
  104. eureka:
  105. instance:
  106. prefer-ip-address: false
  107. eureka-server-ip: 172.19.103.73:8761
  108. ---
  109. spring:
  110. profiles: test
  111. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  112. #else the server must have host map.
  113. eureka:
  114. instance:
  115. prefer-ip-address: false
  116. eureka-server-ip: 172.19.103.73:8761
  117. ---
  118. spring:
  119. profiles: prod_fz
  120. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  121. #else the server must have host map.
  122. eureka:
  123. instance:
  124. prefer-ip-address: false
  125. eureka-server-ip: 11.1.2.1:8761
  126. ---
  127. spring:
  128. profiles: prod_sr
  129. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  130. #else the server must have host map.
  131. eureka:
  132. instance:
  133. prefer-ip-address: false
  134. eureka-server-ip: 10.176.97.10:8761
  135. #eureka-server-ip: 171.35.109.46:8761
  136. ---
  137. spring:
  138. profiles: prod_fzzy
  139. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  140. #else the server must have host map.
  141. eureka:
  142. instance:
  143. prefer-ip-address: false
  144. eureka-server-ip: 100.100.1.162:8761
  145. ---
  146. spring:
  147. profiles: prod_srformal
  148. eureka:
  149. instance:
  150. prefer-ip-address: false
  151. eureka-server-ip: 192.168.200.61:8761