Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Allow to setup transcoding in the docker image

Pierre Jaurya4ac1c999e10
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml
index 831c6d1fb3..2278b4e2e5 100644
--- a/support/docker/production/config/custom-environment-variables.yaml
+++ b/support/docker/production/config/custom-environment-variables.yaml
@@ -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"
diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml
index 64fc9e82c6..3ba53d24bd 100644
--- a/support/docker/production/config/production.yaml
+++ b/support/docker/production/config/production.yaml
@@ -45,3 +45,9 @@ log:
admin:
email: null
+
+transcoding:
+ resolutions:
+ 360: true
+ 720: true
+