Sign inSign up

eriknughard27/rtmp-langit

By eriknughard27

•Updated over 2 years ago

rtmp custome untuk transcode

Image
Networking
Web servers
0

191

eriknughard27/rtmp-langit repository overview

Dockerfile

FROM debian:latest

RUN apt-get update &&
apt-get install -y build-essential libpcre3 libpcre3-dev libssl-dev zlib1g zlib1g-dev wget unzip

⁠Install Nginx and RTMP module

RUN wget http://nginx.org/download/nginx-1.21.4.tar.gz⁠ &&
wget https://github.com/arut/nginx-rtmp-module/archive/refs/heads/master.zip⁠ &&
tar -zxvf nginx-1.21.4.tar.gz &&
unzip master.zip &&
cd nginx-1.21.4 &&
./configure --add-module=../nginx-rtmp-module-master &&
make &&
make install

⁠Create directories

RUN mkdir -p /usr/local/nginx/logs /usr/local/nginx/client_body_temp /usr/local/nginx/proxy_temp /usr/local/nginx/fastcgi_temp /usr/local/nginx/uwsgi_temp /usr/local/nginx/scgi_temp

⁠Copy default config file

COPY nginx.conf /usr/local/nginx/conf/nginx.conf

EXPOSE 80 1935

CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]

Tag summary

Content type

Image

Digest

sha256:57048992a…

Size

447.8 MB

Last updated

over 2 years ago

docker pull eriknughard27/rtmp-langit:0.9