svr-authentication.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. spring:
  2. redis:
  3. database: 0 # Database index used by the connection factory.
  4. timeout: 0 # Connection timeout in milliseconds.
  5. pool:
  6. 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.
  7. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  8. 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.
  9. 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.
  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. ---
  18. spring:
  19. profiles: dev
  20. datasource:
  21. url: jdbc:mysql://172.26.0.104:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  22. username: ssgg
  23. password: ssgg@jkzl2019
  24. redis:
  25. host: 172.26.0.108
  26. port: 6390
  27. fz-gateway:
  28. url: http://172.26.0.108:10001/fzGateway/WSGW/rest
  29. clientId: 9000401
  30. clientVersion: 1.0
  31. handlerId: 50871
  32. ---
  33. spring:
  34. profiles: prod
  35. datasource:
  36. url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  37. username: healthcloud
  38. password: GP8Qz4qU
  39. redis:
  40. host: 192.168.50.82
  41. port: 6379
  42. password: q4YaQemf
  43. fz-gateway:
  44. url: http://192.168.220.84:10001/fzGateway/WSGW/rest
  45. clientId: 9000401
  46. clientVersion: 1.0
  47. handlerId: 50641