A minimalist rTorrent client for docker with OpenVPN capabilities. This also has rutorrent bound to port 80 using lighttpd.
Note: Requires priviledged run in order to connect using OpenVPN
- 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!
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
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
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:
To remove password protection, just delete the file and restart the docker instance.
The XML RPC url is:
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
PGID=1001. To find yours use id user as below:
$ id <dockeruser> uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)