application.yml 4.1 KB

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