Commit graph

8 commits

Author SHA1 Message Date
Jesse Bannon
1264f0c656
[DOCKER] Update Ubuntu-based images (#1185)
- Update Ubuntu-based images to use Python 3.12
- Move hidden files from GUI image's main dir
- Update github workflows to use python 3.12
- Update fixtures
- Minor doc fixes
2025-03-15 21:58:51 -07:00
Jesse Bannon
51c134a036
[DOCKER] Simplify cron (#1184)
Drastically simplifies setting up cron within ytdl-sub. Below is the documentation which is available in readthedocs, and a section on how to migrate from the old way to this.

## New Cron Documentation
Cron is preconfigured in every ytdl-sub docker container. Enable by adding the following ENV variables to your docker setup.

```
services:
  ytdl-sub:
    environment:
    - CRON_SCHEDULE="0 */6 * * *"
    - CRON_RUN_ON_START=false
```  
- CRON_SCHEDULE follows the standard [cron scheduling syntax](https://crontab.guru/#0_*/6_*_*_*). The above value will run the script once every 6 hours.
- CRON_RUN_ON_START toggles whether to run your cron script on container start.

The cron script will reside in the main directory with the file name `cron`. Cron logs should show when viewing the Docker logs.

## Migrating Existing Cron Setup
Containers' cron files will remain intact until you add the `CRON_SCHEDULE` variable. Once you add that with your preferred schedule, it will write that value to /config/crontabs/abc and create a new file `cron` within your working directory. Simply copy everything from your existing `run_cron` script into `cron`.

If you have the ENV variable `DOCKER_MODS` in your docker-compose, remove it. It is now included by default. Not removing this will prevent cron logs from showing in your docker container logs.
2025-03-15 15:47:03 -07:00
Jesse Bannon
2b1e74bc8e
[DOCKER] Export SSL certs (#1163)
Fixes a common issue with downloading channel thumbnails and fanart.
2025-01-26 21:07:54 -08:00
Jesse Bannon
f0847cee63
Revert "[BACKEND] Update yt-dlp to latest commit (#655)" (#656)
This reverts commit 3cbd07c9a4.
2023-07-18 13:17:19 -07:00
Jesse Bannon
3cbd07c9a4
[BACKEND] Update yt-dlp to latest commit (#655)
* [BACKEND] Update yt-dlp to latest commit

* git for installing commits
2023-07-18 10:48:16 -07:00
Jesse Bannon
8f4cc5df39
[DOCKER] Fix ubuntu docker build (#589) 2023-04-12 09:13:15 -07:00
Jesse Bannon
c77015353d
[DOCKER] Install aria2 in container (#577) 2023-04-02 22:10:51 -07:00
Jesse Bannon
52fdc9a213
[DOCKER] Add ubuntu docker image for device passthrough (#545) 2023-03-15 14:10:32 -07:00