Part of my personal archiving routine, using youtube-dl
9.7K
docker create \
--name=arkiverer \
-v <path to config>:/config \
-v <path to data>:/data \
-e PGID=<gid> -e PUID=<uid> \
-e TZ=Europe/Oslo \
roxedus/arkiverer
If no <job>.ytdl folder is present at container startup, it copies the example configuration for the example job into the /config directory. This has 3 files, where only youtube-dl.conf and run are required to run. A job will be started from a wrapper, which changes the working directory to the job folder.
The job context is nothing but a name. Will probably break when special characters is used. It is used for (very basic) logging, and scheduling.
The files:
youtube-dl.conf Pass arguments to youtube-dl Read morerun cron expression for the scheduleCurrently set default parameters (check etc/youtube-dl.conf for a up-to-date list):
## Network
# Use IPv4.
--force-ipv4
docker exec -it arkiverer /bin/bash (This container also installs bash completion for Youtube-DL)Content type
Image
Digest
Size
478.9 MB
Last updated
almost 5 years ago
docker pull roxedus/arkiverer