svr-redis-memory.yml 3.0 KB

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