You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.config.json 1.7 kB

1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "local": {
  3. "userID": 1,
  4. "localIP": "127.0.0.1",
  5. "externalIP": "127.0.0.1",
  6. "locationID": 1
  7. },
  8. "hubGRPC": {
  9. "port": 5010
  10. },
  11. "logger": {
  12. "output": "stdout",
  13. "level": "debug"
  14. },
  15. "db": {
  16. "address": "127.0.0.1:3306",
  17. "account": "root",
  18. "password": "123456",
  19. "databaseName": "cloudream"
  20. },
  21. "rabbitMQ": {
  22. "address": "127.0.0.1:5672",
  23. "account": "cloudream",
  24. "password": "123456",
  25. "vhost": "/",
  26. "param": {
  27. "retryNum": 5,
  28. "retryInterval": 5000
  29. }
  30. },
  31. "distlock": {
  32. "etcdAddress": "127.0.0.1:2379",
  33. "etcdUsername": "",
  34. "etcdPassword": "",
  35. "etcdLockLeaseTimeSec": 5,
  36. "randomReleasingDelayMs": 3000,
  37. "serviceDescription": "I am a client"
  38. },
  39. "connectivity": {
  40. "testInterval": 300
  41. },
  42. "downloader": {
  43. "maxStripCacheCount": 100,
  44. "ecStripPrefetchCount": 1
  45. },
  46. "downloadStrategy": {
  47. "highLatencyHub": 35
  48. },
  49. "tickTock": {
  50. "ecFileSizeThreshold": 5242880
  51. },
  52. "http": {
  53. "enabled": true,
  54. "listen": "127.0.0.1:7890",
  55. "userSpaceID": 0,
  56. "authAccessKey": "",
  57. "authSecretKey": "",
  58. "maxBodySize": 5242880
  59. },
  60. "mount": {
  61. "enabled": false,
  62. "mountPoint": "",
  63. "gid": 0,
  64. "uid": 0,
  65. "dataDir": "",
  66. "metaDir": "",
  67. "attrTimeout": "10s",
  68. "uploadPendingTime": "30s",
  69. "cacheActiveTime": "1m",
  70. "cacheExpireTime": "1m",
  71. "scanDataDirInterval": "10m"
  72. }
  73. }

本项目旨在将云际存储公共基础设施化,使个人及企业可低门槛使用高效的云际存储服务(安装开箱即用云际存储客户端即可,无需关注其他组件的部署),同时支持用户灵活便捷定制云际存储的功能细节。