]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Translated using Weblate (Basque)
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index 517fc74494ae532a83d25042aa20521ee5b0e888..74979f3a76b5e96239441b91b622d29e1258f209 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,18 +35,26 @@ smtp:
 log:
   level: 'debug'
 
+contact_form:
+  enabled: true
+
 redundancy:
   videos:
-    -
-      size: '100KB'
-      strategy: 'most-views'
-    -
-      size: '100KB'
-      strategy: 'trending'
-    -
-      size: '100KB'
-      strategy: 'recently-added'
-      minViews: 10
+    check_interval: '1 minute'
+    strategies:
+      -
+        size: '1000MB'
+        min_lifetime: '10 minutes'
+        strategy: 'most-views'
+      -
+        size: '1000MB'
+        min_lifetime: '10 minutes'
+        strategy: 'trending'
+      -
+        size: '1000MB'
+        min_lifetime: '10 minutes'
+        strategy: 'recently-added'
+        min_views: 1
 
 cache:
   previews:
@@ -46,20 +68,33 @@ signup:
 
 transcoding:
   enabled: true
+  allow_additional_extensions: false
+  allow_audio_files: false
   threads: 2
   resolutions:
+    0p: false
     240p: true
     360p: true
     480p: true
     720p: true
     1080p: true
+    2160p: true
+  hls:
+    enabled: true
 
 import:
   videos:
     http:
       enabled: true
+      proxy:
+        enabled: false
+        url: ""
     torrent:
       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'