home · contact · privacy
More performance/streaming-friendly config for PeerTube.
[config] / buster / other_files / peertube_production.yaml
index 3cc2d81340d0659a02bf184bd931012d37cdfc4c..176a3b60cb3d90cf17f7e7f7bc362bd3ad412cd2 100644 (file)
@@ -34,6 +34,7 @@ trust_proxy:
 
 # Your database name will be "peertube"+database.suffix
 database:
+  password: 'peertube'
   hostname: 'localhost'
   port: 5432
   suffix: '_prod'
@@ -220,11 +221,11 @@ transcoding:
   threads: 1
   resolutions: # Only created if the original video has a higher resolution, uses more storage!
     0p: false # audio-only (creates mp4 without video stream, always created when enabled)
-    240p: false
-    360p: false
-    480p: false
-    720p: false
-    1080p: false
+    240p: true
+    360p: true
+    480p: true
+    720p: true
+    1080p: true
     2160p: false
 
   # Generate videos in a WebTorrent format (what we do since the first PeerTube release)
@@ -240,7 +241,7 @@ transcoding:
   #     * More stable playback (less bugs/infinite loading)
   # If you also enabled the webtorrent format, it will multiply videos storage by 2
   hls:
-    enabled: false
+    enabled: true
 
 import:
   # Add ability for your users to import remote videos (from YouTube, torrent...)