mirror of https://github.com/Chocobozzz/PeerTube
Add support for HLS in the Docker container. (#2324)
* Add support for HLS in the Docker container. * Remove comment from Dockerfile.stretchpull/2334/head
parent
c334097734
commit
7269868682
|
@ -1,4 +1,4 @@
|
|||
FROM node:10-stretch-slim
|
||||
FROM node:10-buster-slim
|
||||
|
||||
# Allow to pass extra options to the npm run build
|
||||
# eg: --light --light-fr to not build all client languages
|
||||
|
@ -16,9 +16,8 @@ RUN groupadd -r peertube \
|
|||
&& useradd -r -g peertube -m peertube
|
||||
|
||||
# Install PeerTube
|
||||
COPY --chown=peertube:peertube . /app
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN chown -R peertube:peertube /app
|
||||
|
||||
USER peertube
|
||||
|
||||
|
|
|
@ -103,12 +103,16 @@ transcoding:
|
|||
720p:
|
||||
__name: "PEERTUBE_TRANSCODING_720P"
|
||||
__format: "json"
|
||||
1080:
|
||||
1080p:
|
||||
__name: "PEERTUBE_TRANSCODING_1080P"
|
||||
__format: "json"
|
||||
2160:
|
||||
2160p:
|
||||
__name: "PEERTUBE_TRANSCODING_2160P"
|
||||
__format: "json"
|
||||
hls:
|
||||
enabled:
|
||||
__name: "PEERTUBE_TRANSCODING_HLS_ENABLED"
|
||||
__format: "json"
|
||||
|
||||
instance:
|
||||
name: "PEERTUBE_INSTANCE_NAME"
|
||||
|
|
Loading…
Reference in New Issue