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:
parent
2d248b9ce0
commit
88d753b84a
4 changed files with 109 additions and 66 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue