]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Allow to setup transcoding in the docker image
authorPierre Jaury <pierre@jaury.eu>
Sun, 27 May 2018 13:03:27 +0000 (15:03 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 30 May 2018 06:33:19 +0000 (08:33 +0200)
support/docker/production/config/custom-environment-variables.yaml
support/docker/production/config/production.yaml

index 831c6d1fb3ea7128a02019a7416ca53d805d8a52..2278b4e2e5821d7d51da7c8283c7b924a6066907 100644 (file)
@@ -53,6 +53,26 @@ transcoding:
   enabled:
     __name: "PEERTUBE_TRANSCODING_ENABLED"
     __format: "json"
+  threads:
+    __name: "PEERTUBE_TRANSCODING_THREADS"
+    __format: "json"
+  resolutions:
+    240p:
+      __name: "PEERTUBE_TRANSCODING_240P"
+      __format: "json"
+    360p:
+      __name: "PEERTUBE_TRANSCODING_360P"
+      __format: "json"
+    480p:
+      __name: "PEERTUBE_TRANSCODING_480P"
+      __format: "json"
+    720p:
+      __name: "PEERTUBE_TRANSCODING_720P"
+      __format: "json"
+    1080:
+      __name: "PEERTUBE_TRANSCODING_1080P"
+      __format: "json"
+    
 
 instance:
   name: "PEERTUBE_INSTANCE_NAME"
index 64fc9e82c6000f810a5795f12f67e55490b93b0c..3ba53d24bdbb0a1ff7fd162b50e86cd3177f15cd 100644 (file)
@@ -45,3 +45,9 @@ log:
 
 admin:
   email: null
+
+transcoding:
+  resolutions:
+    360: true
+    720: true
+