A simple web UI for downloading videos on a remote PC such as a NAS.
version: "3.0"
services:
ytdlp-webui:
image: ghcr.io/seyys/ytdlp-webui:master
container_name: ytdlp-webui
restart: "unless-stopped"
volumes:
- <DOWNLOADS>:/app/downloads
ports:
- 5000:5000
depends_on:
- redis
links:
- redis
redis:
image: redis:alpine
restart: "unless-stopped"
hostname: redis
celery_worker:
image: ghcr.io/seyys/ytdlp-webui:master
command: ["celery", "-A", "make_celery", "worker", "--loglevel", "INFO"]
depends_on:
- redis
restart: "unless-stopped"
environment:
- FILENAME_TEMPLATE=%(title)s - [%(id)s].mkv
- CHMOD=<PERMS> # optional
- CHOWN_UID=<UID> # optional
- CHOWN_GID=<GID> # optional
volumes:
- <DOWNLOADS>:/app/downloads
- <CONFIG>:/app/config
links:
- redis
Edit yt-dlp.conf
in the <CONFIG>
directory. Refer to the yt-dlp options.
Clone this repo, install pip requirements, then run
redis-server & REDIS_URL=redis://localhost celery -A make_celery worker --loglevel INFO & REDIS_URL=redis://localhost flask --app ytdlp_frontend run
- Add support for batch downloads