svr-redis-memory.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. logging:
  2. level:
  3. com:
  4. netflix: INFO
  5. org:
  6. springframework:
  7. web: INFO
  8. hibernate: ERROR
  9. spring:
  10. # REDIS
  11. redis:
  12. database: 0 # Database index used by the connection factory.
  13. port: 6379 # Redis server port.
  14. timeout: 0 # Connection timeout in milliseconds.
  15. #sentinel:
  16. # master: # Name of Redis server.
  17. # nodes: # Comma-separated list of host:port pairs.
  18. pool:
  19. 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.
  20. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  21. 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.
  22. 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.
  23. datasource:
  24. driver-class-name: com.mysql.jdbc.Driver
  25. max-active: 20
  26. max-idle: 8
  27. min-idle: 8
  28. validation-query: SELECT 1
  29. test-on-borrow: true
  30. ---
  31. spring:
  32. profiles: dev
  33. datasource:
  34. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  35. username: chenweishan
  36. password: chenweishan
  37. redis:
  38. host: 172.19.103.47
  39. port: 6379
  40. password: redis!@456
  41. ehr-redis:
  42. cache:
  43. memory:
  44. rdbFilePath: /usr/local/bin/dump.rdb
  45. outFilePath: /home/ehr/redisReport/memory.csv
  46. ---
  47. spring:
  48. profiles: alpha
  49. datasource:
  50. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  51. username: ha
  52. password: ha
  53. redis:
  54. host: 192.168.1.220 # Redis server host.
  55. ehr-redis:
  56. cache:
  57. memory:
  58. rdbFilePath: /usr/local/bin/dump.rdb
  59. outFilePath: /home/ehr/redisReport/memory.csv
  60. ---
  61. spring:
  62. profiles: test
  63. datasource:
  64. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  65. username: weifuwu
  66. password: weifuwu
  67. redis:
  68. host: 172.19.103.47 # Redis server host.
  69. ehr-redis:
  70. cache:
  71. memory:
  72. rdbFilePath: /usr/local/bin/dump.rdb
  73. outFilePath: /home/ehr/redisReport/memory.csv
  74. ---
  75. spring:
  76. profiles: prod
  77. redis:
  78. host: 11.1.2.20 # Redis server host.
  79. datasource:
  80. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  81. username: ha
  82. password: jkzlxm
  83. ehr-redis:
  84. cache:
  85. memory:
  86. rdbFilePath: /usr/local/bin/dump.rdb
  87. outFilePath: /home/ehr/redisReport/memory.csv
  88. ---
  89. spring:
  90. profiles: prod_fz
  91. datasource:
  92. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  93. username: healthcloud
  94. password: GP8Qz4qU
  95. redis:
  96. host: 11.1.2.22
  97. port: 6390
  98. password: Kb6wKDQP1W4
  99. ehr-redis:
  100. cache:
  101. memory:
  102. rdbFilePath: /usr/local/bin/dump.rdb
  103. outFilePath: /home/ehr/redisReport/memory.csv
  104. ---
  105. spring:
  106. profiles: prod_sr
  107. redis:
  108. host: 10.176.97.5
  109. port: 6390
  110. password: q4YaQemf
  111. datasource:
  112. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  113. username: healthcloud
  114. password: GP8Qz4qU
  115. ehr-redis:
  116. cache:
  117. memory:
  118. rdbFilePath: /usr/local/bin/dump.rdb
  119. outFilePath: /home/ehr/redisReport/memory.csv
  120. ---
  121. spring:
  122. profiles: prod_fzzy
  123. redis:
  124. host: 100.100.1.161
  125. port: 6390
  126. password: q4YaQemf
  127. datasource:
  128. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  129. username: healthcloud
  130. password: GP8Qz4qU
  131. ehr-redis:
  132. cache:
  133. memory:
  134. rdbFilePath: /usr/local/bin/dump.rdb
  135. outFilePath: /home/ehr/redisReport/memory.csv