svr-redis.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. #password: # Login password of the redis server.
  15. timeout: 0 # Connection timeout in milliseconds.
  16. #sentinel:
  17. # master: # Name of Redis server.
  18. # nodes: # Comma-separated list of host:port pairs.
  19. pool:
  20. 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.
  21. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  22. 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.
  23. 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.
  24. datasource:
  25. driver-class-name: com.mysql.jdbc.Driver
  26. max-active: 20
  27. max-idle: 8
  28. min-idle: 8
  29. validation-query: SELECT 1
  30. test-on-borrow: true
  31. fast-dfs:
  32. pool:
  33. init-size: 5
  34. max-size: 20
  35. wait-time: 500
  36. connect-timeout: 2
  37. network-timeout: 30
  38. charset: ISO8859-1
  39. http:
  40. tracker-http-port: 80
  41. anti-steal-token: no
  42. secret-key: FastDFS1234567890
  43. ---
  44. spring:
  45. profiles: dev
  46. datasource:
  47. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  48. username: weifuwu
  49. password: weifuwu
  50. redis:
  51. host: 172.19.103.47 # Redis server host.
  52. port: 6379
  53. password: redis!@456
  54. fast-dfs:
  55. tracker-server: 172.19.103.13:22122
  56. public-server: http://172.19.103.52:80
  57. password: ha
  58. ehr-redis:
  59. mq:
  60. pubsub:
  61. publisherAppId: svr-redis
  62. responseTimeChannel: redis.cache.reponse-time
  63. ---
  64. spring:
  65. profiles: alpha
  66. datasource:
  67. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  68. username: ha
  69. password: ha
  70. redis:
  71. host: 192.168.1.220 # Redis server host.
  72. password: # Login password of the redis server.
  73. fast-dfs:
  74. tracker-server: 172.19.103.54:22122
  75. public-server: http://172.19.103.54:22122
  76. ehr-redis:
  77. mq:
  78. pubsub:
  79. publisherAppId: svr-redis
  80. responseTimeChannel: redis.cache.reponse-time
  81. ---
  82. spring:
  83. profiles: test
  84. datasource:
  85. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  86. username: weifuwu
  87. password: weifuwu
  88. redis:
  89. host: 172.19.103.47 # Redis server host.
  90. password: # Login password of the redis server.
  91. fast-dfs:
  92. tracker-server: 172.19.103.13:22122
  93. public-server: http://172.19.103.52:80
  94. ehr-redis:
  95. mq:
  96. pubsub:
  97. publisherAppId: svr-redis
  98. responseTimeChannel: redis.cache.reponse-time
  99. ---
  100. spring:
  101. profiles: prod
  102. redis:
  103. host: 11.1.2.20 # Redis server host.
  104. password: # Login password of the redis server.
  105. datasource:
  106. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  107. username: ha
  108. password: jkzlxm
  109. fast-dfs:
  110. tracker-server: 11.1.2.9:22122
  111. public-server: http://ds.ehr.yihu.com:22122
  112. ehr-redis:
  113. mq:
  114. pubsub:
  115. publisherAppId: svr-redis
  116. responseTimeChannel: redis.cache.reponse-time
  117. ---
  118. spring:
  119. profiles: prod_fz
  120. datasource:
  121. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  122. username: healthcloud
  123. password: GP8Qz4qU
  124. redis:
  125. host: 11.1.2.22 # Redis server host.
  126. port: 6390
  127. password: Kb6wKDQP1W4
  128. fast-dfs:
  129. tracker-server: 11.1.2.9:22122
  130. public-server: http://11.1.2.9:80
  131. ehr-redis:
  132. mq:
  133. pubsub:
  134. publisherAppId: svr-redis
  135. responseTimeChannel: redis.cache.reponse-time
  136. ---
  137. spring:
  138. profiles: prod_sr
  139. datasource:
  140. url: jdbc:mysql://10.176.97.9:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  141. username: healthcloud
  142. password: GP8Qz4qU
  143. redis:
  144. host: 10.176.97.5 # Redis server host.
  145. port: 6390
  146. password: q4YaQemf
  147. fast-dfs:
  148. tracker-server: 10.176.97.5:22122
  149. public-server: http://10.176.97.5:8888
  150. ehr-redis:
  151. mq:
  152. pubsub:
  153. publisherAppId: svr-redis
  154. responseTimeChannel: redis.cache.reponse-time
  155. ---
  156. spring:
  157. profiles: prod_fzzy
  158. datasource:
  159. url: jdbc:mysql://100.100.1.159:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  160. username: healthcloud
  161. password: GP8Qz4qU
  162. redis:
  163. host: 100.100.1.161 # Redis server host.
  164. port: 6390
  165. password: q4YaQemf
  166. fast-dfs:
  167. tracker-server: 100.100.1.157:22122
  168. public-server: http://100.100.1.157:8888
  169. ehr-redis:
  170. mq:
  171. pubsub:
  172. publisherAppId: svr-redis
  173. responseTimeChannel: redis.cache.reponse-time