diff --git a/README.md b/README.md index afaea96..da2b1df 100644 --- a/README.md +++ b/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