Ensimmäinen commit

This commit is contained in:
Tontze
2026-06-08 19:44:24 +03:00
commit 8b23166a51
11 changed files with 563 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
services:
torrent-vahti:
image: python:3.11-slim
container_name: torrent-vahti-ajo
restart: unless-stopped
volumes:
- /mnt/media/admin/motorsports:/app
- /mnt/media/media/Downloads/torrent:/watch
working_dir: /app
environment:
- TZ=Europe/Helsinki
# LISÄTTY lxml PAKETTI PIP INSTALLIIN:
command: >
sh -c "pip install --no-cache-dir requests beautifulsoup4 lxml &&
while true; do python torrent_vahti.py; sleep 1800; done"