application.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. #set max http header size
  2. server:
  3. tomcat:
  4. max-http-header-size: 100000
  5. #The region code, where application deployed
  6. deploy:
  7. region: 3502
  8. #EHR platform user default password
  9. default:
  10. password: 123456
  11. hystrix:
  12. command:
  13. default:
  14. execution:
  15. isolation:
  16. thread:
  17. timeoutInMilliseconds: 3000000
  18. #Application error definition, this file define common errors,
  19. #if the error is used only in your application, please define it in your application configuration file.
  20. ehr.common.invalid.parameter: 参数解析错误
  21. ehr.common.query.not.found: 不存在该对象
  22. ehr.common.repeat.code: 代码重复
  23. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
  24. ag-ehr-platform.server.port: 443
  25. ag-ehr-cloud.server.port: 10400
  26. ag-portal-cloud.server.port: 10280
  27. ag-admin.server.port: 10000
  28. ag-zuul.server.port: 10001
  29. svr-adaption.server.port: 10150
  30. svr-app.server.port: 10160
  31. svr-dict.server.port: 10050
  32. svr-esb.server.port: 10130
  33. svr-geography.server.port: 10090
  34. svr-health-profile.server.port: 9009
  35. svr-organization.server.port: 10070
  36. svr-pack-mgr.server.port: 10140
  37. svr-pack-resolve.server.port: 10170
  38. svr-pack-analyzer.server.port: 10340
  39. svr-patient.server.port: 10100
  40. svr-security.server.port: 10110
  41. svr-special-dict.server.port: 10180
  42. svr-standard.server.port: 10040
  43. svr-user.server.port: 10120
  44. svr-family.server.port: 10190
  45. svr-health-profile-search.server.port: 10200
  46. svr-workflow.server.port: 10210
  47. svr-resource.server.port: 10220
  48. svr-archive-security.server.port: 10230
  49. svr-profile-statistics.server.port: 10240
  50. svr-authentication.server.port: 10260
  51. svr-portal.server.port: 10250
  52. svr-file-resource.server.port: 10270
  53. svr-ehr-basic.server.port: 10300
  54. svr-redis.server.port: 10310
  55. svr-redis-memory.server.port: 10311
  56. svr-log-collection.server.port: 10320
  57. svr-quota.server.port: 10330
  58. svr-dfs.server.port: 10770
  59. #Application acuator
  60. endpoints:
  61. restart:
  62. enabled: true
  63. shutdown:
  64. enabled: true
  65. health:
  66. sensitive: false
  67. spring:
  68. jmx:
  69. enabled: false
  70. jpa:
  71. database-platform: org.hibernate.dialect.MySQL5Dialect
  72. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  73. show-sql: false
  74. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  75. cloud:
  76. inetutils:
  77. ignoredInterfaces:
  78. - docker0
  79. - veth.*
  80. - vmnet.*
  81. - TAP-Win.*
  82. - Software Loopback.*
  83. - .*VPN.*
  84. - .*Virtual.*
  85. - .*Debug.*
  86. eureka:
  87. client:
  88. serviceUrl:
  89. defaultZone: http://${eureka-server-ip}/eureka/
  90. ---
  91. spring:
  92. profiles: dev
  93. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  94. #else the server must have host map.
  95. eureka:
  96. instance:
  97. prefer-ip-address: false
  98. #eureka-server-ip: 127.0.0.1:8761
  99. #eureka-server-ip: 192.168.1.221:8761
  100. eureka-server-ip: 172.19.103.73:8761
  101. #eureka-server-ip: 172.19.103.33:8761
  102. ---
  103. spring:
  104. profiles: alpha
  105. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  106. #else the server must have host map.
  107. eureka:
  108. instance:
  109. prefer-ip-address: false
  110. eureka-server-ip: 192.168.1.221:8761
  111. ---
  112. spring:
  113. profiles: test
  114. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  115. #else the server must have host map.
  116. eureka:
  117. instance:
  118. prefer-ip-address: false
  119. eureka-server-ip: 172.19.103.73:8761
  120. ---
  121. spring:
  122. profiles: prod
  123. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  124. #else the server must have host map.
  125. eureka:
  126. instance:
  127. prefer-ip-address: false
  128. eureka-server-ip: 11.1.2.21:8761
  129. ---
  130. spring:
  131. profiles: prod_fz
  132. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  133. #else the server must have host map.
  134. eureka:
  135. instance:
  136. prefer-ip-address: true
  137. eureka-server-ip: 11.1.2.1:8761
  138. ---
  139. spring:
  140. profiles: prod_sr
  141. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  142. #else the server must have host map.
  143. eureka:
  144. instance:
  145. prefer-ip-address: true
  146. eureka-server-ip: 10.176.97.10:8761
  147. #eureka-server-ip: 171.35.109.46:8761
  148. ---
  149. spring:
  150. profiles: prod_fzzy
  151. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  152. #else the server must have host map.
  153. eureka:
  154. instance:
  155. prefer-ip-address: true
  156. eureka-server-ip: 100.100.1.162:8761