update docs
This commit is contained in:
parent
0bf402d3d3
commit
2acbe9d8e8
1 changed files with 9 additions and 5 deletions
14
README.md
14
README.md
|
@ -4,12 +4,16 @@
|
|||
|
||||
1. `apt install docker.io docker-compose`
|
||||
2. `docker-compose build`
|
||||
3. `./gen-selfsigned.sh`
|
||||
4. `docker-compose up`
|
||||
5. `./issue-certificate.sh example.com info@example.com`
|
||||
6. Encoder server = `rtmp://example:1935/live/` key = `stream?pass=supersecret`
|
||||
7. Open a browser and go to `https://example.com` to view your live stream via hls.js
|
||||
3. `./gen-selfsigned.sh` - generate self signed haproxy cert for bootstraping
|
||||
4. `docker-compose up -d`
|
||||
5. `./issue-certificate.sh example.com info@example.com` - issue LE production certificate
|
||||
6. `cp docker-compose.yml.dist docker-compose.yml` and edit the env variables
|
||||
7. `cd config/frontend && cp config.yml.dist config.yml` and edit the variables
|
||||
8. `docker-compose down && docker-compose up -d` rerun with the updated configs
|
||||
|
||||
## Setup client
|
||||
1. Encoder server = `rtmp://example:1935/live/` key = `stream?pass=supersecret`
|
||||
2. Open a browser and go to `https://example.com` to view your live stream via hls.js
|
||||
|
||||
### Powered by
|
||||
- https://github.com/tiangolo/nginx-rtmp-docker
|
||||
|
|
Loading…
Reference in a new issue