Nginx with nginx-rtmp-module. Act as a rtmp & hls streaming server. Based on Alpine Linux.
505
Docker build file for nginx with nginx-rtmp-module. Act as a rtmp & hls streaming server. Based on Alpine Linux.
Nginx 服务器 + nginx-rtmp-module 模块的 Dockerfile,用于搭建 rtmp + hls 流媒体服务器。基于 Alpine Linux。
docker pull thomaswoo/nginx-rtmp
docker run -it --rm -p 1935:1935 -p 8080:80 thomaswoo/nginx-rtmp
or build it by yourself and run:
docker build -t nginx-rtmp .
docker run -it --rm -p 1935:1935 -p 8080:80 nginx-rtmp
docker run -d -p 1935:1935 -p 8080:80 --name nginx-rtmp-server --restart=always thomaswoo/nginx-rtmp
docker run -d -p 1935:1935 -p 8080:80 -v /path/to/nginx.conf:/etc/nginx/nginx.conf.template --name nginx-rtmp-server --restart=always thomaswoo/nginx-rtmp
docker run -d -p 1935:1935 -p 8080:80 -e HLS_AUTO_INDEX=on --name nginx-rtmp-server --restart=always thomaswoo/nginx-rtmp
rtmp://<server_ip>:1935/stream/<stream_name>
rtmp://<server_ip>:1935/stream/<stream_name>
http://<server_ip>:8080/live/<stream_name>.m3u8
http://<server_ip>:8080/stat
The default username/password is admin/admin.
Change username/password by create a new htpasswd file and mount to : /etc/nginx/htpasswd_admin
Content type
Image
Digest
Size
10.7 MB
Last updated
almost 5 years ago
docker pull thomaswoo/nginx-rtmp