application.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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-logCollection.server.port: 10320
  54. #Application acuator
  55. endpoints:
  56. restart:
  57. enabled: true
  58. shutdown:
  59. enabled: true
  60. health:
  61. sensitive: false
  62. spring:
  63. jmx:
  64. enabled: false
  65. jpa:
  66. database-platform: org.hibernate.dialect.MySQL5Dialect
  67. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  68. show-sql: false
  69. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  70. cloud:
  71. inetutils:
  72. ignoredInterfaces:
  73. - docker0
  74. - veth.*
  75. - vmnet.*
  76. - TAP-Win.*
  77. - Software Loopback.*
  78. - .*VPN.*
  79. - .*Virtual.*
  80. - .*Debug.*
  81. eureka:
  82. client:
  83. serviceUrl:
  84. defaultZone: http://${eureka-server-ip}/eureka/
  85. ---
  86. spring:
  87. profiles: dev
  88. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  89. #else the server must have host map.
  90. eureka:
  91. instance:
  92. prefer-ip-address: false
  93. #eureka-server-ip: 127.0.0.1:8761
  94. eureka-server-ip: 192.168.1.221:8761
  95. #eureka-server-ip: 172.19.103.33: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: false
  131. eureka-server-ip: 192.168.135.29:8761