Visit GitHub for more details.
-
From DockerHUB
docker pull frosty5689/youtube-dl-webui
-
From DockerFile
cd /tmp docker build -f </path/to/Dockerfile> -t youtube-dl-webui .
-
Run container
docker run -d \ --name <container_name> \ -e PGID=<gid> \ -e PUID=<uid> \ -e PORT=port \ -e CONF_FILE=<config_file_in_container> \ -v <config_file>:<config_file_in_container> \ -p <host_port>:<port> \ -v <host_download_dir>:<download_dir> \ d0u9/youtube-dl-webui
-
Automatically start container after booting
Create
/etc/systemd/system/docker-youtube_dl_webui.service
, and fill with the contents below:[Unit] Description=youtube-dl downloader Requires=docker.service After=docker.service [Service] Restart=always ExecStart=/usr/bin/docker start -a <container_name> ExecStop=/usr/bin/docker stop -t 2 <container_name> [Install] WantedBy=default.target
All defualt settings can be found in this json file.
- Files save to:
/tmp/youtube_dl
; - Database file location:
/tmp/youtube_dl_webui.db
; - Log size:
10
; - Listen address:
0.0.0.0
; - Listen port:
5000