application.yml 3.4 KB

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