Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.06 KB

v1.4.0-docker-update-guide.md

File metadata and controls

14 lines (11 loc) · 1.06 KB

v1.4.0 Docker Update Guide

Version 1.4.0 makes significant changes to the Dockerfile to allow for improvements to configuration, storage, and updating:

  • Environment variables are no longer set directly in docker-compose.yaml and now uses the .env file at the project root
  • Downloads are no longer stored in the Docker container and now uses a bind mount to store downloads on the host system

To update an existing Docker installation from a previous version to 1.4.0:

  1. Copy downloads out of the container to a new location docker cp youtube-dl-react-viewer-app-1:/youtube-dl/. "C:\Output Directory"

  2. Update to 1.4.0 git pull && git checkout tags/v1.4.0

  3. Copy .env.sample to .env

  4. Edit .env and set OUTPUT_DIRECTORY to the location you copied files to in the first step and configure the required environment variables

  5. Rebuild and start the container docker compose build --no-cache && docker compose up -d

  6. Delete the old downloads volume docker volume rm youtube-dl-react-viewer_ytrv_downloads