svr-special-dict.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. logging:
  2. level:
  3. com:
  4. netflix: DEBUG
  5. spring:
  6. # REDIS
  7. redis:
  8. database: 0 # Database index used by the connection factory.
  9. port: 6379 # Redis server port.
  10. password: # Login password of the redis server.
  11. timeout: 0 # Connection timeout in milliseconds.
  12. #sentinel:
  13. # master: # Name of Redis server.
  14. # nodes: # Comma-separated list of host:port pairs.
  15. pool:
  16. 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.
  17. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  18. 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.
  19. 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.
  20. data-source:
  21. driver-class-name: com.mysql.jdbc.Driver
  22. initialize-size: 1
  23. max-total: 20
  24. max-idle: 10
  25. min-idle: 1
  26. validation-query: SELECT 1
  27. test-on-borrow: true
  28. remove-abandoned-timeout: 55
  29. ---
  30. spring:
  31. profiles: dev
  32. redis:
  33. host: 192.168.1.220 # Redis server host.
  34. data-source:
  35. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  36. user-name: ha
  37. password: ha
  38. ---
  39. spring:
  40. profiles: alpha
  41. redis:
  42. host: 192.168.1.220 # Redis server host.
  43. data-source:
  44. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  45. user-name: ha
  46. password: ha
  47. ---
  48. spring:
  49. profiles: test
  50. redis:
  51. host: 172.19.103.47 # Redis server host.
  52. data-source:
  53. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  54. user-name: weifuwu
  55. password: weifuwu
  56. ---
  57. spring:
  58. profiles: prod
  59. redis:
  60. host: 11.1.2.20 # Redis server host.
  61. data-source:
  62. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  63. user-name: ha
  64. password: jkzlxm