aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPierre Jaury <pierre@jaury.eu>2018-05-27 15:03:27 +0200
committerChocobozzz <me@florianbigard.com>2018-05-30 08:33:19 +0200
commita4ac1c999e101396a56e16f69fc8003e41cbcaee (patch)
tree16bbe86ece5c9f187d60f2146227b669c2acaed1
parentaf5262f113a125032ac45f4d017f9cf5461c6bd9 (diff)
downloadPeerTube-a4ac1c999e101396a56e16f69fc8003e41cbcaee.tar.gz
PeerTube-a4ac1c999e101396a56e16f69fc8003e41cbcaee.tar.zst
PeerTube-a4ac1c999e101396a56e16f69fc8003e41cbcaee.zip
Allow to setup transcoding in the docker image
-rw-r--r--support/docker/production/config/custom-environment-variables.yaml20
-rw-r--r--support/docker/production/config/production.yaml6
2 files changed, 26 insertions, 0 deletions
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:
53 enabled: 53 enabled:
54 __name: "PEERTUBE_TRANSCODING_ENABLED" 54 __name: "PEERTUBE_TRANSCODING_ENABLED"
55 __format: "json" 55 __format: "json"
56 threads:
57 __name: "PEERTUBE_TRANSCODING_THREADS"
58 __format: "json"
59 resolutions:
60 240p:
61 __name: "PEERTUBE_TRANSCODING_240P"
62 __format: "json"
63 360p:
64 __name: "PEERTUBE_TRANSCODING_360P"
65 __format: "json"
66 480p:
67 __name: "PEERTUBE_TRANSCODING_480P"
68 __format: "json"
69 720p:
70 __name: "PEERTUBE_TRANSCODING_720P"
71 __format: "json"
72 1080:
73 __name: "PEERTUBE_TRANSCODING_1080P"
74 __format: "json"
75
56 76
57instance: 77instance:
58 name: "PEERTUBE_INSTANCE_NAME" 78 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:
45 45
46admin: 46admin:
47 email: null 47 email: null
48
49transcoding:
50 resolutions:
51 360: true
52 720: true
53