test.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. smtp:
  20. hostname: null
  21. port: 1025
  22. tls: false
  23. disable_starttls: true
  24. from_address: 'test-admin@localhost'
  25. username: null
  26. password: null
  27. log:
  28. level: 'debug'
  29. contact_form:
  30. enabled: true
  31. redundancy:
  32. videos:
  33. check_interval: '10 minutes'
  34. strategies:
  35. -
  36. size: '10MB'
  37. min_lifetime: '10 minutes'
  38. strategy: 'most-views'
  39. -
  40. size: '10MB'
  41. min_lifetime: '10 minutes'
  42. strategy: 'trending'
  43. -
  44. size: '10MB'
  45. min_lifetime: '10 minutes'
  46. strategy: 'recently-added'
  47. min_views: 1
  48. cache:
  49. previews:
  50. size: 1
  51. captions:
  52. size: 1
  53. signup:
  54. enabled: true
  55. requires_email_verification: false
  56. transcoding:
  57. enabled: true
  58. allow_additional_extensions: false
  59. allow_audio_files: false
  60. threads: 2
  61. resolutions:
  62. 240p: true
  63. 360p: true
  64. 480p: true
  65. 720p: true
  66. 1080p: true
  67. 2160p: true
  68. hls:
  69. enabled: true
  70. import:
  71. videos:
  72. http:
  73. enabled: true
  74. torrent:
  75. enabled: true
  76. instance:
  77. default_nsfw_policy: 'display'