latest. fixes filenames

This commit is contained in:
2022-11-08 18:57:25 -08:00
parent e801932783
commit 86197a5a41
3 changed files with 16 additions and 4 deletions

View File

@@ -1,28 +1,32 @@
export DOCKER_HOST := ssh://root@lstor1
.PHONY: default deploy build_image restart stop run logs
default: deploy
deploy:
make build_image
make stop
make run
make start
build_image:
docker build -t sneak/ytdlp .
restart:
make stop
make start
stop:
-docker stop sneak-ytdlp
-docker rm -f sneak-ytdlp
run: stop
start:
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