2023-12-30 21:30:04 -05:00
|
|
|
# Television
|
|
|
|
|
2024-01-04 21:57:04 -05:00
|
|
|
## Install
|
2023-12-30 23:16:42 -05:00
|
|
|
Multi channel stream setup with Flask REST API for scheduling channels.
|
2024-01-04 15:57:03 -05:00
|
|
|
|
|
|
|
1. run `./init.sh` to prepare data directories and generate self signed certs to bootstrap the load balancer
|
|
|
|
2. `cp variables.env.dist variables.env` and set the required variables
|
|
|
|
3. run `./renew-certificates.sh` periodically to generate/update the certificates
|
|
|
|
4. run the docker-compose stack using `docker-compose up -d --build --remove-orphans`
|
2024-01-12 16:34:46 -05:00
|
|
|
5. Access the admin panel at `https://stream.example.com/ui`
|
2024-01-12 20:26:24 -05:00
|
|
|
6. Access the recordings gallery at `https://vod.example.com/`
|
|
|
|
|
|
|
|
## purge vod database
|
|
|
|
|
|
|
|
`docker exec -ti television_archive_1 /app/gallery.js storage --storage /data/storage --database /data/config/database.db -l debug purge`
|