From d314e83b188b9764e520e72abc800793903ff481 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 28 Oct 2024 16:25:04 +0900 Subject: [PATCH] create ytdlp-webui --- ytdlp/compose.yml | 23 +++++++++++++++++++++++ ytdlp/config/yt-dlp.conf | 1 + 2 files changed, 24 insertions(+) create mode 100644 ytdlp/compose.yml create mode 100644 ytdlp/config/yt-dlp.conf diff --git a/ytdlp/compose.yml b/ytdlp/compose.yml new file mode 100644 index 0000000..ab475b1 --- /dev/null +++ b/ytdlp/compose.yml @@ -0,0 +1,23 @@ +services: + webui: + image: ghcr.io/seyys/ytdlp-webui:master + restart: unless-stopped + ports: + - 5000:5000 + depends_on: + - redis + worker: + image: ghcr.io/seyys/ytdlp-webui:master + restart: unless-stopped + command: ["celery", "-A", "make_celery", "worker", "--loglevel", "INFO"] + user: 1000:1000 + environment: + FILENAME_TEMPLATE: "%(uploader|Unknown)s,%(album|[Unknown Album])s,%(title)s [%(id)s]" + volumes: + - ./downloads:/app/downloads + - ./config:/app/config + depends_on: + - redis + redis: + image: redis:alpine + restart: unless-stopped diff --git a/ytdlp/config/yt-dlp.conf b/ytdlp/config/yt-dlp.conf new file mode 100644 index 0000000..826502c --- /dev/null +++ b/ytdlp/config/yt-dlp.conf @@ -0,0 +1 @@ +--continue --ignore-errors --no-overwrites --extract-audio --add-metadata --embed-thumbnail