svr-special-dict.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. datasource:
  21. driver-class-name: com.mysql.jdbc.Driver
  22. max-active: 20
  23. max-idle: 8
  24. min-idle: 8
  25. validation-query: SELECT 1
  26. test-on-borrow: true
  27. ---
  28. spring:
  29. profiles: dev
  30. redis:
  31. host: 192.168.1.220 # Redis server host.
  32. datasource:
  33. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  34. username: ha
  35. password: ha
  36. ---
  37. spring:
  38. profiles: alpha
  39. redis:
  40. host: 192.168.1.220 # Redis server host.
  41. datasource:
  42. url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  43. username: ha
  44. password: ha
  45. ---
  46. spring:
  47. profiles: test
  48. redis:
  49. host: 172.19.103.47 # Redis server host.
  50. datasource:
  51. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  52. username: weifuwu
  53. password: weifuwu
  54. ---
  55. spring:
  56. profiles: prod
  57. redis:
  58. host: 11.1.2.20 # Redis server host.
  59. datasource:
  60. url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  61. username: ha
  62. password: jkzlxm