application.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. svr-adaption.server.port: 10150
  29. svr-app.server.port: 10160
  30. svr-dict.server.port: 10050
  31. svr-esb.server.port: 10130
  32. svr-geography.server.port: 10090
  33. svr-health-profile.server.port: 9009
  34. svr-organization.server.port: 10070
  35. svr-pack-mgr.server.port: 10140
  36. svr-pack-resolve.server.port: 10170
  37. svr-patient.server.port: 10100
  38. svr-security.server.port: 10110
  39. svr-special-dict.server.port: 10180
  40. svr-standard.server.port: 10040
  41. svr-user.server.port: 10120
  42. svr-family.server.port: 10190
  43. svr-health-profile-search.server.port: 10200
  44. svr-workflow.server.port: 10210
  45. svr-resource.server.port: 10220
  46. svr-archive-security.server.port: 10230
  47. svr-profile-statistics.server.port: 10240
  48. svr-authentication.server.port: 10260
  49. svr-portal.server.port: 10250
  50. svr-file-resource.server.port: 10270
  51. svr-ehr-basic.server.port: 10300
  52. svr-redis.server.port: 10310
  53. svr-log-collection.server.port: 10320
  54. svr-quota.server.port: 10330
  55. svr-dfs.server.port: 10770
  56. #Application acuator
  57. endpoints:
  58. restart:
  59. enabled: true
  60. shutdown:
  61. enabled: true
  62. health:
  63. sensitive: false
  64. spring:
  65. jmx:
  66. enabled: false
  67. jpa:
  68. database-platform: org.hibernate.dialect.MySQL5Dialect
  69. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  70. show-sql: false
  71. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  72. cloud:
  73. inetutils:
  74. ignoredInterfaces:
  75. - docker0
  76. - veth.*
  77. - vmnet.*
  78. - TAP-Win.*
  79. - Software Loopback.*
  80. - .*VPN.*
  81. - .*Virtual.*
  82. - .*Debug.*
  83. eureka:
  84. client:
  85. serviceUrl:
  86. defaultZone: http://${eureka-server-ip}/eureka/
  87. ---
  88. spring:
  89. profiles: dev
  90. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  91. #else the server must have host map.
  92. eureka:
  93. instance:
  94. prefer-ip-address: false
  95. eureka-server-ip: 172.19.103.44:8761
  96. ---
  97. spring:
  98. profiles: alpha
  99. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  100. #else the server must have host map.
  101. eureka:
  102. instance:
  103. prefer-ip-address: false
  104. eureka-server-ip: 192.168.1.221:8761
  105. ---
  106. spring:
  107. profiles: test
  108. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  109. #else the server must have host map.
  110. eureka:
  111. instance:
  112. prefer-ip-address: false
  113. eureka-server-ip: 172.19.103.73:8761
  114. ---
  115. spring:
  116. profiles: prod
  117. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  118. #else the server must have host map.
  119. eureka:
  120. instance:
  121. prefer-ip-address: false
  122. eureka-server-ip: 11.1.2.21:8761
  123. ---
  124. spring:
  125. profiles: prod_fz
  126. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  127. #else the server must have host map.
  128. eureka:
  129. instance:
  130. prefer-ip-address: true
  131. eureka-server-ip: 11.1.2.1:8761
  132. ---
  133. spring:
  134. profiles: prod_sr
  135. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  136. #else the server must have host map.
  137. eureka:
  138. instance:
  139. prefer-ip-address: true
  140. #eureka-server-ip: 10.176.97.10:8761
  141. eureka-server-ip: 171.35.109.46:8761