svr-authentication.yml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. server:
  2. port: 10260
  3. spring:
  4. datasource:
  5. driver-class-name: com.mysql.jdbc.Driver
  6. max-active: 20
  7. max-idle: 8
  8. min-idle: 8
  9. validation-query: SELECT 1
  10. test-on-borrow: true
  11. redis:
  12. database: 0 # Database index used by the connection factory.
  13. timeout: 0 # Connection timeout in milliseconds.
  14. pool:
  15. 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.
  16. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  17. 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.
  18. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This settings only has an effect if it is positive.
  19. user:
  20. autoUnlockTime: 5 #账户锁定后,自动解锁时间 以分钟计算
  21. reflashFailedCountTime: 5 #将失败次数重置为0
  22. tryLoginTimes: 5 #失败重试次数
  23. ---
  24. spring:
  25. profiles: jwdev
  26. ##发现服务
  27. datasource:
  28. url: jdbc:mysql://172.26.0.114/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  29. username: ssgg
  30. password: ssgg@jkzl2019
  31. redis:
  32. host: 172.26.0.253 # Redis server host.
  33. port: 6379 # Redis server port.
  34. eureka:
  35. client:
  36. healthcheck:
  37. enabled: true #监控检查
  38. # i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  39. iHealth:
  40. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  41. ---
  42. spring:
  43. profiles: jwtest
  44. datasource:
  45. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  46. username: root
  47. password: jkzlehr
  48. redis:
  49. host: 172.26.0.253 # Redis server host.
  50. port: 6379 # Redis server port.
  51. ##发现服务
  52. eureka:
  53. client:
  54. healthcheck:
  55. enabled: true #监控检查
  56. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  57. iHealth:
  58. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  59. ---
  60. spring:
  61. profiles: jwprod
  62. datasource:
  63. url: jdbc:mysql://192.0.33.27/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  64. username: im
  65. password: 2oEq3Kf7
  66. redis:
  67. host: 192.0.33.26 # Redis server host.
  68. port: 6390 # Redis server port.
  69. password: Kb6wKDQP1W4
  70. ##发现服务
  71. eureka:
  72. client:
  73. healthcheck:
  74. enabled: true #监控检查
  75. iHealth:
  76. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo