svr-redis.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. fast-dfs:
  23. pool:
  24. init-size: 5
  25. max-size: 20
  26. wait-time: 500
  27. connect-timeout: 2
  28. network-timeout: 30
  29. charset: ISO8859-1
  30. http:
  31. tracker-http-port: 80
  32. anti-steal-token: no
  33. secret-key: FastDFS1234567890
  34. ---
  35. spring:
  36. profiles: dev
  37. datasource:
  38. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  39. username: weifuwu
  40. password: weifuwu
  41. redis:
  42. host: 172.19.103.47 # Redis server host.
  43. port: 6379
  44. password: redis!@456
  45. fast-dfs:
  46. tracker-server: 172.19.103.13:22122
  47. public-server: http://172.19.103.52:80
  48. password: ha
  49. ehr-redis:
  50. mq:
  51. pubsub:
  52. publisherAppId: svr-redis
  53. responseTimeChannel: redis.cache.reponse-time
  54. ---
  55. spring:
  56. profiles: test
  57. datasource:
  58. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  59. username: weifuwu
  60. password: weifuwu
  61. redis:
  62. host: 172.19.103.47 # Redis server host.
  63. port: 6379
  64. password: redis!@456
  65. fast-dfs:
  66. tracker-server: 172.19.103.13:22122
  67. public-server: http://172.19.103.52:80
  68. password: ha
  69. ehr-redis:
  70. mq:
  71. pubsub:
  72. publisherAppId: svr-redis
  73. responseTimeChannel: redis.cache.reponse-time
  74. ---
  75. spring:
  76. profiles: prod_fz
  77. datasource:
  78. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  79. username: healthcloud
  80. password: GP8Qz4qU
  81. redis:
  82. host: 11.1.2.22 # Redis server host.
  83. port: 6390
  84. password: Kb6wKDQP1W4
  85. fast-dfs:
  86. tracker-server: 11.1.2.9:22122
  87. public-server: http://11.1.2.9:80
  88. ehr-redis:
  89. mq:
  90. pubsub:
  91. publisherAppId: svr-redis
  92. responseTimeChannel: redis.cache.reponse-time
  93. ---
  94. spring:
  95. profiles: prod_sr
  96. datasource:
  97. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  98. username: healthcloud
  99. password: GP8Qz4qU
  100. redis:
  101. host: 10.176.97.5 # Redis server host.
  102. port: 6390
  103. password: q4YaQemf
  104. fast-dfs:
  105. tracker-server: 10.176.97.5:22122
  106. public-server: http://10.176.97.5:8888
  107. ehr-redis:
  108. mq:
  109. pubsub:
  110. publisherAppId: svr-redis
  111. responseTimeChannel: redis.cache.reponse-time
  112. ---
  113. spring:
  114. profiles: prod_fzzy
  115. datasource:
  116. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  117. username: healthcloud
  118. password: GP8Qz4qU
  119. redis:
  120. host: 100.100.1.161 # Redis server host.
  121. port: 6390
  122. password: q4YaQemf
  123. fast-dfs:
  124. tracker-server: 100.100.1.157:22122
  125. public-server: http://100.100.1.157:8888
  126. ehr-redis:
  127. mq:
  128. pubsub:
  129. publisherAppId: svr-redis
  130. responseTimeChannel: redis.cache.reponse-time