motou / nginx-rtmp-docker

Dockerfile for building lightweight nginx + rtmp module for replicating streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nginx-rtmp-docker

Dockerfile for building lightweight nginx + rtmp module for replicating streams

Usage

docker run -dp 1935:1935 dvdgiessen/nginx-rtmp-docker

If you want to use a custom nginx.conf file, create a volume mapping:

docker run -dp 1935:1935 -v /path/to/my/custom/nginx.conf:/etc/nginx/nginx.conf dvdgiessen/nginx-rtmp-docker

Troubleshooting

If you encounter an error like this:

[alert] could not open error log file: open() "/var/log/nginx/access.log" failed (13: Permission denied)

Then you are running an outdated version of Docker. See the Docker documentation on how to get the latest version.

More info

Docker Hub: https://hub.docker.com/r/dvdgiessen/nginx-rtmp-docker/

Based on setup described on the OBS forums here.

About

Dockerfile for building lightweight nginx + rtmp module for replicating streams


Languages

Language:Nginx 100.0%