Enhance YouTube video download functionality with improved error handling and format options. Update Docker configuration to use environment variable for port and simplify network settings.

This commit is contained in:
vrubel 2025-12-24 22:41:20 +03:00
parent 2d248b9ce0
commit 88d753b84a
4 changed files with 109 additions and 66 deletions

View file

@ -3,17 +3,11 @@ services:
build: .
container_name: youtube_downloader_service
restart: unless-stopped
ports:
- "5557:5000"
volumes:
- ./downloads:/app/downloads
- ./youtube_cookies.txt:/app/youtube_cookies.txt
environment:
- YOUTUBE_COOKIES_FILE=/app/youtube_cookies.txt
networks:
- downloader_network
networks:
downloader_network:
driver: bridge
- PORT=5557
network_mode: host