added m3u8 restreamer and better variable handiling

This commit is contained in:
2025-06-07 15:49:11 +05:00
parent 09d635b311
commit 863d55014d
4 changed files with 49 additions and 11 deletions

View File

@@ -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

View 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