svr-quota.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. spring:
  2. # REDIS
  3. redis:
  4. database: 0 # Database index used by the connection factory.
  5. timeout: 0 # Connection timeout in milliseconds.
  6. pool:
  7. 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.
  8. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  9. 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.
  10. 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.
  11. datasource:
  12. driver-class-name: com.mysql.jdbc.Driver
  13. max-active: 20
  14. max-idle: 8
  15. min-idle: 8
  16. validation-query: SELECT 1
  17. test-on-borrow: true
  18. elasticsearch:
  19. pool:
  20. init-size: 5
  21. max-size: 10
  22. ---
  23. spring:
  24. profiles: dev
  25. datasource:
  26. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  27. username: chenweishan
  28. password: chenweishan
  29. redis:
  30. host: 172.19.103.47 # Redis server host.
  31. port: 6379
  32. password: redis!@456
  33. data:
  34. solr:
  35. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  36. elasticsearch:
  37. jest:
  38. uris: http://172.19.103.9:9200
  39. elasticsearch:
  40. cluster-name: elasticsearch
  41. cluster-nodes: 172.19.103.9:9300
  42. ---
  43. spring:
  44. profiles: test
  45. datasource:
  46. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  47. username: chenweishan
  48. password: chenweishan
  49. redis:
  50. host: 172.19.103.47 # Redis server host.
  51. port: 6379
  52. password: redis!@456
  53. data:
  54. solr:
  55. zk-host: node1.hde.h3c.com,node2.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  56. elasticsearch:
  57. jest:
  58. uris: http://172.19.103.9:9200
  59. elasticsearch:
  60. cluster-name: elasticsearch
  61. cluster-nodes: 172.19.103.9:9300
  62. ---
  63. spring:
  64. profiles: prod_fz
  65. datasource:
  66. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  67. username: healthcloud
  68. password: GP8Qz4qU
  69. redis:
  70. host: 11.1.2.22 # Redis server host.
  71. port: 6390
  72. # Login password of the redis server.
  73. password: Kb6wKDQP1W4
  74. data:
  75. solr:
  76. zk-host: node1.ehr.h3c.com,node2.ehr.h3c.com,node3.ehr.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  77. elasticsearch:
  78. jest:
  79. uris: http://172.19.103.9:9200
  80. elasticsearch:
  81. cluster-name: elasticsearch
  82. cluster-nodes: 172.19.103.9:9300
  83. ---
  84. spring:
  85. profiles: prod_sr
  86. datasource:
  87. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  88. username: healthcloud
  89. password: GP8Qz4qU
  90. redis:
  91. host: 10.176.97.5 # Redis server host.
  92. port: 6390
  93. password: q4YaQemf
  94. data:
  95. solr:
  96. zk-host: node1.jkzl.com,node2.jkzl.com,node3.jkzl.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  97. elasticsearch:
  98. jest:
  99. uris: http://10.176.97.7:9200
  100. elasticsearch:
  101. cluster-name: elasticsearch
  102. cluster-nodes: 10.176.97.7:9300
  103. ---
  104. spring:
  105. profiles: prod_fzzy
  106. datasource:
  107. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  108. username: healthcloud
  109. password: GP8Qz4qU
  110. redis:
  111. host: 100.100.1.161 # Redis server host.
  112. port: 6390
  113. password: q4YaQemf
  114. data:
  115. solr:
  116. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com,node4.hde.h3c.com:2181/solr # ZooKeeper host address in the form HOST:PORT.
  117. elasticsearch:
  118. jest:
  119. uris: http://100.100.1.158:9200
  120. elasticsearch:
  121. cluster-name: elasticsearch
  122. cluster-nodes: 100.100.1.158:9300