Sign inSign up

juniorh/rutorrent

By juniorh

Updated almost 10 years ago

Run torrent service using rTorrent, ruTorrent and Nginx

Image
0

1.3K

juniorh/rutorrent repository overview

rTorrent can be accessed through ruTorrent web GUI to port 443/HTTPS. Torrent data is stored on path /data/rtorrent Sometimes get files through ruTorrent is slow, so downloaded files on /data/rtorrent/download can be access directly to url https:///files/ with authentication.

How to use:

Old
$ mkdir -p /local-torrent-data/{download,session}
$ docker run -it -v /local-torrent-data:/data/rtorrent -p 80:80 -p 443:443 --name rutorrent juniorh/rutorrent:3.4 /bin/bash
$ chown -R www-data:www-data /data/rtorrent
$ service nginx start
$ service php5-fpm start
$ rtorrent

> sh /start-rutorrent.sh
New
$ mkdir -p /local-torrent-data/
$ docker run -it --rm -v  /local-torrent-data/:/data/rtorrent juniorh/rutorrent:3.6 initdir
$ docker run -itd --name rutorrent --net host -v  /local-torrent-data/:/data/rtorrent juniorh/rutorrent:3.6
or
$ docker run -itd --name rutorrent -p 80:80 -p 443:443  -v  /local-torrent-data/:/data/rtorrent juniorh/rutorrent:3.6

Exit from docker container

$ (CRTL+p)(CTRL+q)

rTorrent keys

Rakshasa's BitTorrent client version 0.9.2.

All value pairs (f.ex rate and queue size) will be in the UP/DOWN
order. Use the up/down/left/right arrow keys to move between screens.

Usage: rtorrent [OPTIONS]... [FILE]... [URL]...
  -h                Display this very helpful text
  -n                Don't try to load ~/.rtorrent.rc on startup
  -b <a.b.c.d>      Bind the listening socket to this IP
  -i <a.b.c.d>      Change the IP that is sent to the tracker
  -p <int>-<int>    Set port range for incoming connections
  -d <directory>    Save torrents to this directory by default
  -s <directory>    Set the session directory
  -o key=opt,...    Set options, see 'rtorrent.rc' file

Main view keys:
  backspace         Add a torrent url or path
  ^s                Start torrent
  ^d                Stop torrent or delete a stopped torrent
  ^r                Manually initiate hash checking
  ^q                Initiate shutdown or skip shutdown process
  a,s,d,z,x,c       Adjust upload throttle
  A,S,D,Z,X,C       Adjust download throttle
  I                 Toggle whether torrent ignores ratio settings
  right             View torrent

Download view keys:
  spacebar          Depends on the current view
  1,2               Adjust max uploads
  3,4,5,6           Adjust min/max connected peers
  t/T               Query tracker for more peers / Force query
  *                 Snub peer
  right             View files
  p                 View peer information
  o                 View trackers

Below can be adjusted by overriding file

  • Authentication files in /etc/nginx/htpasswd.users
  • SSL certificate files in /etc/nginx/ssl/
  • Nginx log in /var/log/nginx/

Tag summary

Content type

Image

Digest

Size

170.5 MB

Last updated

almost 10 years ago

docker pull juniorh/rutorrent