svr-redis.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. spring:
  2. # REDIS
  3. redis:
  4. database: 0 # Database index used by the connection factory.
  5. #password: # Login password of the redis server.
  6. timeout: 0 # Connection timeout in milliseconds.
  7. #sentinel:
  8. # master: # Name of Redis server.
  9. # nodes: # Comma-separated list of host:port pairs.
  10. pool:
  11. 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.
  12. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  13. 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.
  14. 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.
  15. datasource:
  16. driver-class-name: com.mysql.jdbc.Driver
  17. max-active: 20
  18. max-idle: 8
  19. min-idle: 8
  20. validation-query: SELECT 1
  21. test-on-borrow: true
  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: weifuwu
  28. password: weifuwu
  29. redis:
  30. host: 172.19.103.47 # Redis server host.
  31. port: 6379
  32. password: redis!@456
  33. ehr-redis:
  34. mq:
  35. pubsub:
  36. publisherAppId: svr-redis
  37. responseTimeChannel: redis.cache.reponse-time
  38. ---
  39. spring:
  40. profiles: test
  41. datasource:
  42. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  43. username: weifuwu
  44. password: weifuwu
  45. redis:
  46. host: 172.19.103.47 # Redis server host.
  47. port: 6379
  48. password: redis!@456
  49. ehr-redis:
  50. mq:
  51. pubsub:
  52. publisherAppId: svr-redis
  53. responseTimeChannel: redis.cache.reponse-time
  54. ---
  55. spring:
  56. profiles: prod_fz
  57. datasource:
  58. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  59. username: healthcloud
  60. password: GP8Qz4qU
  61. redis:
  62. host: 11.1.2.22 # Redis server host.
  63. port: 6390
  64. password: Kb6wKDQP1W4
  65. ehr-redis:
  66. mq:
  67. pubsub:
  68. publisherAppId: svr-redis
  69. responseTimeChannel: redis.cache.reponse-time
  70. ---
  71. spring:
  72. profiles: prod_sr
  73. datasource:
  74. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  75. username: healthcloud
  76. password: GP8Qz4qU
  77. redis:
  78. host: 10.176.97.5 # Redis server host.
  79. port: 6390
  80. password: q4YaQemf
  81. ehr-redis:
  82. mq:
  83. pubsub:
  84. publisherAppId: svr-redis
  85. responseTimeChannel: redis.cache.reponse-time
  86. ---
  87. spring:
  88. profiles: prod_fzzy
  89. datasource:
  90. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  91. username: healthcloud
  92. password: GP8Qz4qU
  93. redis:
  94. host: 100.100.1.161 # Redis server host.
  95. port: 6390
  96. password: q4YaQemf
  97. ehr-redis:
  98. mq:
  99. pubsub:
  100. publisherAppId: svr-redis
  101. responseTimeChannel: redis.cache.reponse-time
  102. ---
  103. spring:
  104. profiles: prod_srformal
  105. datasource:
  106. url: jdbc:mysql://192.168.40.34:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  107. username: healthcloud
  108. password: GP8Qz4qU
  109. redis:
  110. host: 192.168.50.82 # Redis server host.
  111. port: 6379
  112. password: q4YaQemf
  113. ehr-redis:
  114. mq:
  115. pubsub:
  116. publisherAppId: svr-redis
  117. responseTimeChannel: redis.cache.reponse-time