Comment changed, mostly to kick Travis into rectifying its last silliness
[oweals/peertube.git] / config / test.yaml
index d36d90bbd71d1ea636c4f09c5be2bd72ef39bab3..eedd285375a825d32d8ccb0a7aa2288996630705 100644 (file)
@@ -1,14 +1,28 @@
 listen:
-  listen: '0.0.0.0'
+  hostname: '0.0.0.0'
   port: 9000
 
 webserver:
   https: false
 
+rates_limit:
+  signup:
+    window: 10 minutes
+    max: 50
+  login:
+    window: 5 minutes
+    max: 20
+  api:
+    window: 10 seconds
+    max: 500
+
 database:
   hostname: 'localhost'
   port: 5432
 
+redis:
+  hostname: 'localhost'
+
 smtp:
   hostname: null
   port: 1025
@@ -21,19 +35,26 @@ smtp:
 log:
   level: 'debug'
 
+contact_form:
+  enabled: true
+
 redundancy:
   videos:
+    check_interval: '10 minutes'
     strategies:
       -
         size: '10MB'
+        min_lifetime: '10 minutes'
         strategy: 'most-views'
       -
         size: '10MB'
+        min_lifetime: '10 minutes'
         strategy: 'trending'
       -
         size: '10MB'
+        min_lifetime: '10 minutes'
         strategy: 'recently-added'
-        minViews: 1
+        min_views: 1
 
 cache:
   previews:
@@ -47,13 +68,19 @@ signup:
 
 transcoding:
   enabled: true
+  allow_additional_extensions: false
+  allow_audio_files: false
   threads: 2
   resolutions:
+    0p: true
     240p: true
     360p: true
     480p: true
     720p: true
     1080p: true
+    2160p: true
+  hls:
+    enabled: true
 
 import:
   videos:
@@ -63,4 +90,8 @@ import:
       enabled: true
 
 instance:
-  default_nsfw_policy: 'display'
\ No newline at end of file
+  default_nsfw_policy: 'display'
+
+plugins:
+  index:
+    check_latest_versions_interval: '10 minutes'