From: Pierre Jaury Date: Sun, 27 May 2018 13:03:27 +0000 (+0200) Subject: Allow to setup transcoding in the docker image X-Git-Tag: v1.0.0-beta.8~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4ac1c999e101396a56e16f69fc8003e41cbcaee;p=oweals%2Fpeertube.git Allow to setup transcoding in the docker image --- diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml index 831c6d1fb..2278b4e2e 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 64fc9e82c..3ba53d24b 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 +