aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/docker/production/Dockerfile.stretch5
-rw-r--r--support/docker/production/config/custom-environment-variables.yaml8
2 files changed, 8 insertions, 5 deletions
diff --git a/support/docker/production/Dockerfile.stretch b/support/docker/production/Dockerfile.stretch
index 720f266d3..32c5266c5 100644
--- a/support/docker/production/Dockerfile.stretch
+++ b/support/docker/production/Dockerfile.stretch
@@ -1,4 +1,4 @@
1FROM node:10-stretch-slim 1FROM node:10-buster-slim
2 2
3# Allow to pass extra options to the npm run build 3# Allow to pass extra options to the npm run build
4# eg: --light --light-fr to not build all client languages 4# eg: --light --light-fr to not build all client languages
@@ -16,9 +16,8 @@ RUN groupadd -r peertube \
16 && useradd -r -g peertube -m peertube 16 && useradd -r -g peertube -m peertube
17 17
18# Install PeerTube 18# Install PeerTube
19COPY --chown=peertube:peertube . /app
19WORKDIR /app 20WORKDIR /app
20COPY . ./
21RUN chown -R peertube:peertube /app
22 21
23USER peertube 22USER peertube
24 23
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml
index d5b878830..c4c627551 100644
--- a/support/docker/production/config/custom-environment-variables.yaml
+++ b/support/docker/production/config/custom-environment-variables.yaml
@@ -103,12 +103,16 @@ transcoding:
103 720p: 103 720p:
104 __name: "PEERTUBE_TRANSCODING_720P" 104 __name: "PEERTUBE_TRANSCODING_720P"
105 __format: "json" 105 __format: "json"
106 1080: 106 1080p:
107 __name: "PEERTUBE_TRANSCODING_1080P" 107 __name: "PEERTUBE_TRANSCODING_1080P"
108 __format: "json" 108 __format: "json"
109 2160: 109 2160p:
110 __name: "PEERTUBE_TRANSCODING_2160P" 110 __name: "PEERTUBE_TRANSCODING_2160P"
111 __format: "json" 111 __format: "json"
112 hls:
113 enabled:
114 __name: "PEERTUBE_TRANSCODING_HLS_ENABLED"
115 __format: "json"
112 116
113instance: 117instance:
114 name: "PEERTUBE_INSTANCE_NAME" 118 name: "PEERTUBE_INSTANCE_NAME"