Update the docs

This commit is contained in:
deflax 2025-02-06 14:54:18 +00:00
parent 953cb66a15
commit adae0d6ccb

View file

@ -12,7 +12,10 @@ Multi channel stream setup with Flask REST API for scheduling channels.
4. Set the `ACCOUNT_THUMBPRINT` variable 4. Set the `ACCOUNT_THUMBPRINT` variable
5. Run the stack using `docker-compose up -d --build --remove-orphans` 5. Run the stack using:
<pre>
docker-compose up -d --build --remove-orphans
</pre>
6. Issue a certificate: 6. Issue a certificate:
<pre> <pre>
@ -22,23 +25,21 @@ docker exec acme.sh --issue -d $CORE_API_HOSTNAME --stateless
</pre> </pre>
7. Install the certificate: 7. Install the certificate:
</pre> <pre>
source variables.env; \ source variables.env; \
docker exec acme.sh --install-cert -d $BASE_URL --reloadcmd "cat \$CERT_KEY_PATH \$CERT_FULLCHAIN_PATH > /certificates/$BASE_URL.pem"; \ docker exec acme.sh --install-cert -d $BASE_URL --reloadcmd "cat \$CERT_KEY_PATH \$CERT_FULLCHAIN_PATH > /certificates/$BASE_URL.pem"; \
docker exec acme.sh --install-cert -d $CORE_API_HOSTNAME --reloadcmd "cat \$CERT_KEY_PATH \$CERT_FULLCHAIN_PATH > /certificates/$CORE_API_HOSTNAME.pem" docker exec acme.sh --install-cert -d $CORE_API_HOSTNAME --reloadcmd "cat \$CERT_KEY_PATH \$CERT_FULLCHAIN_PATH > /certificates/$CORE_API_HOSTNAME.pem"
</pre> </pre>
8. Reastart haproxy container: 8. Restart haproxy container:
`docker kill -s USR2 haproxy` <pre>
docker kill -s USR2 haproxy
</pre>
9. Set crontab: 9. Set crontab:
`0 0 1 * * docker exec acme.sh --cron && docker kill -s USR2 haproxy` <pre>
0 0 1 * * docker exec acme.sh --cron && docker kill -s USR2 haproxy
</pre>
### Usage ### Usage
1. Access the admin panel at `https://stream.example.com/ui` 1. Access the admin panel at `https://stream.example.com/ui` to setup the channels that we list in `epg.json`
2. Access the recordings gallery at `https://tv.example.com/gallery`
### EPG stream priorities
- prio = 0 - scheduled
- prio = 1 - live
- prio = 2 - live and vod recording