Public Repository

Last pushed: a month ago
Short Description
Simple RTMP Server in docker
Full Description

SRS (v2.0.243 release) installed on centos.
The installed path is /usr/local/srs.
There are 3 folders which are "objs","conf" and "etc" in this path.
You can start srs with follow commands:
docker run -p 1935:1935 -it chenshaoze/srs-docker bash
cd /usr/local/srs
./objs/srs -c conf/rtmp.conf

You also can use it with docker-compose.
For exsample add following code in your docker-composer.yml.
PS: Don't forget to create folder which named "conf" and add file which named *.conf ( rtmp.conf ).

version: '3'
services:
srs-docker:
image: chenshaoze/srs-docker
container_name: srs-dokcer
ports:

  - "1935:1935"
  - "80:80"
volumes:
  - ./conf:/usr/local/srs/conf
command: bash -c "cd /usr/local/srs && ./objs/srs -c conf/rtmp.conf"
Docker Pull Command
Owner
chenshaoze

Comments (0)