television/README.md
2024-01-13 03:26:24 +02:00

15 lines
732 B
Markdown

# Television
## Install
Multi channel stream setup with Flask REST API for scheduling channels.
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`
5. Access the admin panel at `https://stream.example.com/ui`
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`