svr-authentication.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  22. username: chenweishan
  23. password: chenweishan
  24. redis:
  25. host: 172.19.103.47
  26. port: 6379
  27. password: redis!@456
  28. fz-gateway:
  29. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  30. clientId: 9000401
  31. clientVersion: 1.0
  32. handlerId: 50871
  33. ---
  34. spring:
  35. profiles: prod
  36. datasource:
  37. url: jdbc:mysql://192.168.210.3:3310/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  38. username: healthcloud
  39. password: GP8Qz4qU
  40. redis:
  41. host: 192.168.50.82
  42. port: 6379
  43. password: q4YaQemf
  44. fz-gateway:
  45. url: http://192.168.220.84:10001/fzGateway/WSGW/rest
  46. clientId: 9000401
  47. clientVersion: 1.0
  48. handlerId: 50641