forked from TareqAlqutami/rtmp-hls-server
-
Notifications
You must be signed in to change notification settings - Fork 10
Usage
James edited this page Dec 14, 2020
·
5 revisions
docker run -d -p 1935:1935 -p 1936:1936 -p 8080:8080 -e PUID=$UID -e PGID=0 -e SSL_DOMAIN='your.domain.tld' -v /your/local/assets/:/assets jamiephonic/rtmp-hls-stunnel:latest
docker run -d -p 1935:1935 -p 1936:1936 -p 8080:8080 -e PUID=$UID -e PGID=0 -e SSL_DOMAIN='your.domain.tld' -v /your/local/assets/:/assets jamiephonic/rtmp-hls-stunnel:latest
WHERE:
- PUID = the User ID you would the the
/assets
directory to be owned by (Defaults to 0 (root) if not specified) - PGID = the Group ID you would the the
/assets
directory to be owned by (Defaults to 0 (root) if not specified) - SSL_DOMAIN = the full domain name of the server. The default SSL certificate generated on first run will be vaid for this domain.
When you start the container, the default players and configuration files will be copied into /your/local/assets/
to allow you to easily access and edit them.
Change this directory to a valid location on your host, for example: /docker/rmtp-server/