test.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. listen:
  2. hostname: '0.0.0.0'
  3. port: 9000
  4. webserver:
  5. https: false
  6. database:
  7. hostname: 'localhost'
  8. port: 5432
  9. smtp:
  10. hostname: null
  11. port: 1025
  12. tls: false
  13. disable_starttls: true
  14. from_address: 'test-admin@localhost'
  15. username: null
  16. password: null
  17. log:
  18. level: 'debug'
  19. redundancy:
  20. videos:
  21. check_interval: '10 minutes'
  22. strategies:
  23. -
  24. size: '10MB'
  25. min_lifetime: '10 minutes'
  26. strategy: 'most-views'
  27. -
  28. size: '10MB'
  29. min_lifetime: '10 minutes'
  30. strategy: 'trending'
  31. -
  32. size: '10MB'
  33. min_lifetime: '10 minutes'
  34. strategy: 'recently-added'
  35. min_views: 1
  36. cache:
  37. previews:
  38. size: 1
  39. captions:
  40. size: 1
  41. signup:
  42. enabled: true
  43. requires_email_verification: false
  44. transcoding:
  45. enabled: true
  46. allow_additional_extensions: false
  47. threads: 2
  48. resolutions:
  49. 240p: true
  50. 360p: true
  51. 480p: true
  52. 720p: true
  53. 1080p: true
  54. import:
  55. videos:
  56. http:
  57. enabled: true
  58. torrent:
  59. enabled: true
  60. instance:
  61. default_nsfw_policy: 'display'