Files
2026-11-13 23:37:32 +07:00

66 lines
2.4 KiB
YAML

services:
yt-dlp:
build:
context: .
args:
YTDLP_URL: ${YTDLP_URL:-https://github.com/yt-dlp/yt-dlp/releases/download/2026.10.26/yt-dlp}
YTDLP_SHA256: ${YTDLP_SHA256:-e51e69e89489f199530f13d32a4342da3ddb2cf34842f364603a066db05afbf3}
DENO_VERSION: ${DENO_VERSION:-2.9.8}
image: yt-dlp:2026.10.26
container_name: yt-dlp
user: "${UID:-1000}:${GID:-1000}"
working_dir: /downloads
volumes:
- ${DOWNLOAD_DIR:-./downloads}:/downloads
- ${OUTPUT_DIR:-./output}:/output
environment:
ALL_PROXY: ${ALL_PROXY:-${SOCKS5_PROXY:-}}
all_proxy: ${ALL_PROXY:-${SOCKS5_PROXY:-}}
HTTP_PROXY: ${HTTP_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
http_proxy: ${HTTP_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
HTTPS_PROXY: ${HTTPS_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
https_proxy: ${HTTPS_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
SOCKS5_PROXY: ${SOCKS5_PROXY:-}
extra_hosts:
- "host.docker.internal:host-gateway"
stdin_open: true
tty: true
entrypoint: ["yt-dlp"]
egea-check:
build:
context: .
args:
YTDLP_URL: ${YTDLP_URL:-https://github.com/yt-dlp/yt-dlp/releases/download/2026.10.26/yt-dlp}
YTDLP_SHA256: ${YTDLP_SHA256:-e51e69e89489f199530f13d32a4342da3ddb2cf34842f364603a066db05afbf3}
DENO_VERSION: ${DENO_VERSION:-2.9.8}
image: yt-dlp:2026.10.26
container_name: egea-check
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ${OUTPUT_DIR:-./output}:/output
environment:
DB_HOST: ${DB_HOST:-host.docker.internal}
DB_PORT: ${DB_PORT:-3306}
DB_NAME: ${DB_NAME:-}
DB_USER: ${DB_USER:-}
DB_PASS: ${DB_PASS:-}
DB_PREFIX: ${DB_PREFIX:-e2Blog}
DB_SUBSET: ${DB_SUBSET:-1}
SITE_BASE: ${SITE_BASE:-}
YTDL: yt-dlp
OUT_DIR: /output
SLEEP_SEC: ${SLEEP_SEC:-1}
SOCKS5_PROXY: ${SOCKS5_PROXY:-}
ALL_PROXY: ${ALL_PROXY:-${SOCKS5_PROXY:-}}
all_proxy: ${ALL_PROXY:-${SOCKS5_PROXY:-}}
HTTP_PROXY: ${HTTP_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
http_proxy: ${HTTP_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
HTTPS_PROXY: ${HTTPS_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
https_proxy: ${HTTPS_PROXY:-${ALL_PROXY:-${SOCKS5_PROXY:-}}}
extra_hosts:
- "host.docker.internal:host-gateway"
entrypoint: ["/usr/local/bin/egea-youtube-check"]
profiles:
- check