added m3u8 restreamer and better variable handiling
This commit is contained in:
@@ -5,3 +5,9 @@ services:
|
||||
dockerfile: .build/prod/yt-restream.Dockerfile
|
||||
hostname: yt-restream
|
||||
image: git.shihaam.dev/sarlink/tv/yt-restream
|
||||
m3u8-restream:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: .build/prod/m3u8-restream.Dockerfile
|
||||
hostname: m3u8-restream
|
||||
image: git.shihaam.dev/sarlink/tv/m3u8-restream
|
||||
|
||||
11
.build/prod/m3u8-restream.Dockerfile
Normal file
11
.build/prod/m3u8-restream.Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM debian:latest
|
||||
|
||||
WORKDIR /root/
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y python3 curl ffmpeg
|
||||
|
||||
COPY m3u8-restream.sh .
|
||||
WORKDIR /var/www/html
|
||||
|
||||
CMD python3 -m http.server -d live/ & /root/m3u8-restream.sh
|
||||
Reference in New Issue
Block a user