Public Repository

Last pushed: 9 months ago
Short Description
rTorrent + ruTorrent + OpenVPN and only 30MB!
Full Description

yusufali/rtorrent


A minimalist rTorrent client for docker with OpenVPN capabilities. This also has rutorrent bound to port 80 using lighttpd.
URL: https://github.com/drgroot/docker-containers/tree/master/rtorrent

Note: Requires priviledged run in order to connect using OpenVPN

Minimalistic

  • Container size is a mere 30 mb
  • htaccess compatible
  • Ram consumption with 300 torrents sums up to 45 mb
  • OpenVPN ram consumption is a piffling 2.5 mb
  • Supports XMLRPC so you can use this container with Sonarr and CouchPotato!

Usage

docker create -t --name=rutorrent \
--privileged
-v <path to configs>:/config \
-v <path to vpn files>:/vpn \
-v <path to downloads>:/downloads \
-e PGID=<gid> -e PUID=<uid>  \
-p 80:80 -p 49161:49161 \
yusufali/rtorrent

OpenVPN

The container is for the purest of torrenters, routing all their traffic through a VPN connection. Your personal OpenVPN configuration files should be stored in /vpn. They will be automatically loaded and properly routed. The configuration files for the openvpn must end in ovpn. This is because startup calls openvpn --config *.ovpn

Password Protecting

The website interface can be password protecting by creating a text file htaccess in the /config volume. The format of the file is shown below:

myusername:mysecretpassword

To remove password protection, just delete the file and restart the docker instance.

XML RPC

The XML RPC url is: /RPC2

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will work.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
Docker Pull Command
Owner
yusufali

Comments (0)