svr-dict.yml 2.1 KB

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