]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Add rate limit to registration and API endpoints
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index 51a77e2fdaa4921af1cbb471ea22258a6bece379..0a5df75be43046f9305dc0b08040cac54176a9c5 100644 (file)
@@ -5,6 +5,14 @@ listen:
 webserver:
   https: false
 
+rates_limit:
+  signup:
+    window: 10 minutes
+    max: 50
+  login:
+    window: 5 minutes
+    max: 20
+
 database:
   hostname: 'localhost'
   port: 5432
@@ -21,6 +29,9 @@ smtp:
 log:
   level: 'debug'
 
+contact_form:
+  enabled: true
+
 redundancy:
   videos:
     check_interval: '10 minutes'
@@ -51,6 +62,8 @@ signup:
 
 transcoding:
   enabled: true
+  allow_additional_extensions: false
+  allow_audio_files: false
   threads: 2
   resolutions:
     240p: true
@@ -58,6 +71,9 @@ transcoding:
     480p: true
     720p: true
     1080p: true
+    2160p: true
+  hls:
+    enabled: true
 
 import:
   videos: