Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niiv0832/TorrentMonitor_Dockerfile
Docker with TorrentMonitor, Rclone, Http-knocking
https://github.com/niiv0832/TorrentMonitor_Dockerfile
debian dockerfile http-knocking rclone torrent-downloader torrentmonitor
Last synced: 3 months ago
JSON representation
Docker with TorrentMonitor, Rclone, Http-knocking
- Host: GitHub
- URL: https://github.com/niiv0832/TorrentMonitor_Dockerfile
- Owner: niiv0832
- Created: 2020-01-19T18:17:22.000Z (about 5 years ago)
- Default Branch: debian
- Last Pushed: 2021-12-05T10:50:05.000Z (about 3 years ago)
- Last Synced: 2024-08-01T15:36:33.975Z (6 months ago)
- Topics: debian, dockerfile, http-knocking, rclone, torrent-downloader, torrentmonitor
- Language: Dockerfile
- Homepage: https://github.com/ElizarovEugene/TorrentMonitor
- Size: 163 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# All-In-One Docker container with TorrentMonitor, Rclone, Http-knocking
#
### TorrentMonitor
*version ``1.8.8``, ``nginx``, ``php7.3``, ``sqlite``* _at Debian base Docker container_**TorrentMonitor** - monitoring torrent site, downloads torrent files based on a user-defined filter, and much more.
For more informations about TorrentMonitor read TorrentMonitor official site and github project page or join to Project Telegram chat.
TorrentMonitor support next trackers:
`anidub.com`, `animelayer.ru`, `baibako.tv`, `booktracker.org`, `casstudio.tv`, `hamsterstudio.org`, `kinozal.me`, `lostfilm.tv`, `newstudio.tv`, `nnmclub.to`, `pornolab.net`, `riperam.org`, `rustorka.com`, `rutor.info`, `rutracker.org`, `tfile.cc`, `tracker.0day.kiev.ua`, `tv.mekc.info`.
#
### Rclone
*version ``1.57.0``***Rclone** - is a command line program to sync files and directories to and from cloud storage (for example Google Drive).
For more informations about read Rclone official site and github project page.
#
### Http-knocking
*version ``0.8.4``***HTTP-Knocking** hides a Web server and open it by knocking sequence: Hide Web server until your knocks.
For more informations about read github project page.
#This combo Docker container buid for use at publick server (like VPS). For use at private network you may use lite version with standalone TorrentMonitor (```docker pull niiv0832/tormon:lite```).
#
### Links:
Link on docker hub: niiv0832/tormonLink on github: niiv0832/TorrentMonitor_Dockerfile
#
## Usage
```shell
docker run -d --name torrentmonitor --restart=always -p 55443:2000 -v $YOUR_PATH_TO_CONFIG_DIR$:/scripts -v $YOUR_PATH_TO_TORRENTS_DIR$:/data/htdocs/torrents -v $YOUR_PATH_TO_SQLITE.DB_DIR$:/data/htdocs/db -t niiv0832/tormon:latest
```
_$YOUR_PATH_TO_CONFIG_DIR$_:**/scripts** - thsi directory must contain _config and script files_ (all files name must be as writedown) for:
#### rclone:
* __rclone.conf__ - files with rclone configurations (you may read at Rclone official site HOWTO create config for different cloud service.Example of rclone.conf:
```
[remote]
type = drive
scope = drive
token = {"access_token":"$.......past..here....$","token_type":"Bearer","refresh_token":"$.......past..here....$","expiry":"2100-12-59T22:42:54.679710289+03:00"}
root_folder_id = $.......past..here....$
```
* __rclonesync.sh__ - script to run rclone (this script added to crontab)
Example of rclonesync.sh:
```
#!/bin/sh
findfileL=$(ls -l /data/htdocs/torrents | grep -v ^l | wc -l | sed 's/[^0-9]*//g')
if [ "$findfileL" -ne "0" ]
then
rclone move /data/htdocs/torrents/ remote:/vpssync/torrents/
else
echo "Nothing to upload"
fi
```
* http-knocking
* __httpknocking.sh__ - script with config to run http-knocking
Example of httpknocking.sh:
```
http-knocking -d --port=2000 \
--target-host=localhost \
--target-port=80 \
--open-knocking="/alpha,/foxtrot,/lima" \
--close-knocking="/close,/out" \
--auto-close-millis=600000 & \
exit 0
```
http-knocking port must be ``2000`` and target-porr must be ``80``* _$YOUR_PATH_TO_TORRENTS_DIR$_:**/data/htdocs/torrents** - to this folder TorrentMonitor will *downloade .torrent files*.
* _$YOUR_PATH_TO_SQLITE.DB_DIR$_:**/data/htdocs/db** - at this folder TorrentMonitor will *store sqlite database*, so DB will be save even you updating Docker container.
_At you local comuters with torrent clients you may run script (put at crontab) like that:_
_Example of local script to receive remote files and put it in autoload folder:_
```
#!/bin/bash
findfile=$(rclone size remote:/torrents | grep objects | sed 's/[^0-9]*//g')
if [ "$findfile" -ne "0" ]
then
rclone move remote:/vpssync/btautoload /usr/torrentclient/.btautoload
else
echo "Nothing for download"
fi
```**For Lite version**
```shell
docker run -d --name tormonlite --restart=always -p 55443:80 -v $YOUR_PATH_TO_TORRENTS_DIR$:/data/htdocs/torrents -v $YOUR_PATH_TO_SQLITE.DB_DIR$:/data/htdocs/db -t niiv0832/tormon:lite
```
For lite version only 2 directory need to map with container:* _$YOUR_PATH_TO_TORRENTS_DIR$_:**/data/htdocs/torrents** - to this folder TorrentMonitor will *downloade .torrent files*.
* _$YOUR_PATH_TO_SQLITE.DB_DIR$_:**/data/htdocs/db** - at this folder TorrentMonitor will *store sqlite database*, so DB will be save even you updating Docker container.