test.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. listen:
  2. hostname: '0.0.0.0'
  3. port: 9000
  4. webserver:
  5. https: false
  6. rates_limit:
  7. signup:
  8. window: 10 minutes
  9. max: 50
  10. login:
  11. window: 5 minutes
  12. max: 20
  13. api:
  14. window: 10 seconds
  15. max: 500
  16. database:
  17. hostname: 'localhost'
  18. port: 5432
  19. redis:
  20. hostname: 'localhost'
  21. smtp:
  22. hostname: null
  23. port: 1025
  24. tls: false
  25. disable_starttls: true
  26. from_address: 'test-admin@localhost'
  27. username: null
  28. password: null
  29. log:
  30. level: 'debug'
  31. contact_form:
  32. enabled: true
  33. redundancy:
  34. videos:
  35. check_interval: '10 minutes'
  36. strategies:
  37. -
  38. size: '10MB'
  39. min_lifetime: '10 minutes'
  40. strategy: 'most-views'
  41. -
  42. size: '10MB'
  43. min_lifetime: '10 minutes'
  44. strategy: 'trending'
  45. -
  46. size: '10MB'
  47. min_lifetime: '10 minutes'
  48. strategy: 'recently-added'
  49. min_views: 1
  50. cache:
  51. previews:
  52. size: 1
  53. captions:
  54. size: 1
  55. signup:
  56. enabled: true
  57. requires_email_verification: false
  58. transcoding:
  59. enabled: true
  60. allow_additional_extensions: false
  61. allow_audio_files: false
  62. threads: 2
  63. resolutions:
  64. 0p: false
  65. 240p: true
  66. 360p: true
  67. 480p: true
  68. 720p: true
  69. 1080p: true
  70. 2160p: true
  71. hls:
  72. enabled: true
  73. import:
  74. videos:
  75. http:
  76. enabled: true
  77. proxy:
  78. enabled: false
  79. url: ""
  80. torrent:
  81. enabled: true
  82. instance:
  83. default_nsfw_policy: 'display'
  84. plugins:
  85. index:
  86. check_latest_versions_interval: '10 minutes'