svr-ehr-basic.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. common.query.not.found: 该{0}不存在:{1}
  10. common.miss.parameter: 参数不能为空:{0}!
  11. common.notfound.entity: 没有找到{0}实体:{}
  12. std.version.invalid.stage: 该版本不处于编辑状态!
  13. multipart:
  14. max-file-size: 100MB
  15. max-request-size: 100MB
  16. fast-dfs:
  17. pool:
  18. init-size: 5
  19. max-size: 20
  20. wait-time: 500
  21. connect-timeout: 2
  22. network-timeout: 30
  23. charset: ISO8859-1
  24. http:
  25. tracker-http-port: 80
  26. anti-steal-token: no
  27. secret-key: FastDFS1234567890
  28. hadoop:
  29. hbase-properties:
  30. - hbase.zookeeper.property.clientPort: 2181
  31. - zookeeper.znode.parent: /hbase-unsecure
  32. spring:
  33. # REDIS
  34. redis:
  35. database: 0 # Database index used by the connection factory.
  36. port: 6379 # Redis server port.
  37. password: # Login password of the redis server.
  38. timeout: 0 # Connection timeout in milliseconds.
  39. #sentinel:
  40. # master: # Name of Redis server.
  41. # nodes: # Comma-separated list of host:port pairs.
  42. pool:
  43. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  44. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  45. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  46. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  47. # SOLR (SolrProperties)
  48. data:
  49. solr:
  50. repositories.enabled: true # Enable Solr repositories.
  51. datasource:
  52. driver-class-name: com.mysql.jdbc.Driver
  53. max-active: 20
  54. max-idle: 8
  55. min-idle: 8
  56. validation-query: SELECT 1
  57. test-on-borrow: true
  58. ---
  59. spring:
  60. profiles: dev
  61. datasource:
  62. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  63. username: ha
  64. password: ha
  65. redis:
  66. host: 192.168.1.220 # Redis server host.
  67. ldap:
  68. host: 172.19.103.87
  69. port: 389
  70. bindDn: cn=admin,dc=ehr,dc=jkzl
  71. password: jkzl
  72. root: dc=ehr,dc=jkzl
  73. fast-dfs:
  74. tracker-server: 172.19.103.54:22122
  75. public-server: http://172.19.103.54:22122
  76. ---
  77. spring:
  78. profiles: alpha
  79. datasource:
  80. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  81. username: ha
  82. password: ha
  83. redis:
  84. host: 192.168.1.220 # Redis server host.
  85. fast-dfs:
  86. tracker-server: 172.19.103.54:22122
  87. public-server: http://172.19.103.54:22122
  88. ---
  89. spring:
  90. profiles: test
  91. datasource:
  92. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  93. username: weifuwu
  94. password: weifuwu
  95. #username: chenweishan
  96. #password: chenweishan
  97. redis:
  98. #host: 172.17.110.193
  99. host: 172.19.103.47 # Redis server host.
  100. fast-dfs:
  101. tracker-server: 172.19.103.13:22122
  102. public-server: http://172.19.103.52:80
  103. ---
  104. spring:
  105. profiles: prod
  106. datasource:
  107. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  108. username: ha
  109. password: jkzlxm
  110. redis:
  111. host: 11.1.2.20 # Redis server host.
  112. fast-dfs:
  113. tracker-server: 11.1.2.9:22122
  114. public-server: http://ds.ehr.yihu.com:22122