svr-authentication.yml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. fast-dfs:
  24. tracker-server: 192.0.33.26:22122 #服务器地址
  25. connect-timeout: 2 #链接超时时间
  26. network-timeout: 30
  27. charset: ISO8859-1 #编码
  28. http:
  29. tracker-http-port: 80
  30. anti-steal-token: no
  31. secret-key: FastDFS1234567890
  32. pool: #连接池大小
  33. init-size: 5
  34. max-size: 20
  35. wait-time: 500
  36. ---
  37. spring:
  38. profiles: jwdev
  39. ##发现服务
  40. datasource:
  41. url: jdbc:mysql://172.26.0.114/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  42. username: ssgg
  43. password: ssgg@jkzl2019
  44. redis:
  45. host: 172.26.0.253 # Redis server host.
  46. port: 6379 # Redis server port.
  47. # i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  48. iHealth:
  49. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  50. zhongshanHospital:
  51. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  52. fastDFS:
  53. fastdfs_file_url: http://172.26.0.110:8888/
  54. ---
  55. spring:
  56. profiles: jwtest
  57. datasource:
  58. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  59. username: root
  60. password: jkzlehr
  61. redis:
  62. host: 172.26.0.253 # Redis server host.
  63. port: 6379 # Redis server port.
  64. ##发现服务
  65. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  66. iHealth:
  67. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  68. zhongshanHospital:
  69. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  70. fastDFS:
  71. fastdfs_file_url: http://172.26.0.110:8888/
  72. ---
  73. spring:
  74. profiles: jwprod
  75. datasource:
  76. url: jdbc:mysql://192.0.33.27/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  77. username: im
  78. password: 2oEq3Kf7
  79. redis:
  80. host: 192.0.33.26 # Redis server host.
  81. port: 6390 # Redis server port.
  82. password: Kb6wKDQP1W4
  83. ##发现服务
  84. iHealth:
  85. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  86. zhongshanHospital:
  87. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  88. fastDFS:
  89. fastdfs_file_url: http://192.0.33.26:22122