]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/test.yaml
Improve redundancy: add 'min_lifetime' configuration
[github/Chocobozzz/PeerTube.git] / config / test.yaml
index 7f893bc4f2d53cda48e648089e946ed796800b2a..04c999966bc1d90bfe6482cc4345b6913ae521ee 100644 (file)
@@ -1,12 +1,70 @@
 listen:
+  listen: '0.0.0.0'
   port: 9000
 
 webserver:
   https: false
 
 database:
-  host: 'localhost'
-  port: 27017
+  hostname: 'localhost'
+  port: 5432
 
-electron:
-  debug: false
+smtp:
+  hostname: null
+  port: 1025
+  tls: false
+  disable_starttls: true
+  from_address: 'test-admin@localhost'
+  username: null
+  password: null
+
+log:
+  level: 'debug'
+
+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'
+        min_views: 1
+
+cache:
+  previews:
+    size: 1
+  captions:
+    size: 1
+
+signup:
+  enabled: true
+  requires_email_verification: false
+
+transcoding:
+  enabled: true
+  threads: 2
+  resolutions:
+    240p: true
+    360p: true
+    480p: true
+    720p: true
+    1080p: true
+
+import:
+  videos:
+    http:
+      enabled: true
+    torrent:
+      enabled: true
+
+instance:
+  default_nsfw_policy: 'display'
\ No newline at end of file