YouTubeDL-Material
Link
version: "2"
services:
ytdl_material:
environment:
ALLOW_CONFIG_MUTATIONS: 'true'
ytdl_mongodb_connection_string: 'mongodb://ytdl-mongo-db:27017'
ytdl_use_local_db: 'false'
write_ytdl_config: 'true'
restart: unless-stopped
depends_on:
- ytdl-mongo-db
volumes:
- /srv/path/Files/YTDL/appdata:/app/appdata
- /srv/path/Files/YTDL/audio:/app/audio
- /srv/path/Files/YTDL/video:/app/video
- /srv/path/Files/YTDL/subscriptions:/app/subscriptions
- /srv/path/Files/YTDL/users:/app/users
ports:
- "8998:17442"
image: tzahi12345/youtubedl-material:latest
ytdl-mongo-db:
image: mongo
ports:
- "27017:27017"
logging:
driver: "none"
container_name: ytdl-mongo-db
restart: unless-stopped
volumes:
- /srv/path/Files/YTDL/db/:/data/db
Upgrade yt-dlp to nightly
- Open your container's shell by running
docker exec -it <container id> /bin/sh
- A slash should appear in your console. Now cd into where
yt-dlp
is stored: cd /app/node_modules/youtube-dl/bin
- Run
./youtube-dl --update-to nightly
. The executable is called youtube-dl
, but it's still yt-dlp. We do this for legacy reasons
- You can confirm it's up to date by running
./youtube-dl --version
No Comments