This commit is contained in:
2022-11-02 07:53:24 -07:00
parent 0844ea5d2f
commit b89e4090ba
5 changed files with 140 additions and 73 deletions

View File

@@ -1,7 +1,23 @@
export DOCKER_HOST := ssh://root@lstor1
default: build_image
build_image:
docker build -t sneak/youtube-dl .
docker build -t sneak/ytdlp .
stop:
-docker stop sneak-ytdlp
-docker rm -f sneak-ytdlp
run: stop
docker run \
-d \
--name sneak-ytdlp \
-v /srv/lstor1/warez/youtube:/output \
--restart unless-stopped \
sneak/ytdlp
make logs
logs:
docker logs -f sneak-ytdlp
run:
docker run -t sneak/youtube-dl /bin/bash