Skip to content
📤 🐳 Docker image of rutorrent based on alpine (multiarch)
Shell Dockerfile PHP
Branch: master
Clone or download
Rathorian
Latest commit f79ae5e Jan 27, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows feat(): install rtorrent with apk Jan 26, 2020
rootfs fix(): rtorrent path Jan 26, 2020
.editorconfig first commit Dec 5, 2019
Dockerfile feat(): remove variable dockerfiles Jan 27, 2020
LICENSE fix(): geoip build Dec 17, 2019
README.md feat(): remove variable dockerfiles Jan 27, 2020

README.md

mondedie/rutorrent

Features

  • Multi-platform image: linux/386, linux/amd64, linux/arm/v7, linux/arm64/v8
  • Based on Alpine Linux.
  • Provides by default a solid configuration.
  • No ROOT process.
  • Persitance custom configuration for rutorrent and rtorrent.
  • Add your own plugins and themes.
  • Filebot is included, and creates symlinks in /data/media (choose filebot tag).

Tag available

BUILD IMAGE

Build arguments

Argument Description Type Default value
FILEBOT Build with filebot optional false
FILEBOT_VER Filebot version optional 4.8.5
CHROMAPRINT_VER Chromaprint version optional 1.4.3

build

docker build --tag mondedie/rutorrent:latest https://github.com/mondediefr/docker-rutorrent.git

Build with arguments

docker build --tag mondedie/rutorrent:filebot --build-arg FILEBOT=true https://github.com/mondediefr/docker-rutorrent.git

Configuration

Environment variables

Variable Description Type Default value
UID Choose uid for launch rtorrent optional 991
GID Choose gid for launch rtorrent optional 991
PORT_RTORRENT Port of rtorrent optional 45000
DHT_RTORRENT DHT option in rtorrent.rc file optional off
CHECK_PERM_DATA Check permission data in downloads directory optional true
HTTP_AUTH Enable HTTP authentication optional false

Environment variables with filebot

Variable Description Type Default value
FILEBOT_LICENSE License file path required none
FILEBOT_RENAME_METHOD Method for rename media optional symlink
FILEBOT_LANG Set your language optional fr
FILEBOT_CONFLICT Conflict management optional skip

Volumes

  • /data : folder for download torrents
  • /config : folder for rtorrent and rutorrent configuration

Data folder tree

  • /data/.watch : rtorrent watch directory
  • /data/.session : rtorrent save statement here
  • /data/downloads : rtorrent download torrent here
  • /data/media : organize your media and create a symlink with filebot
  • /config/rtorrent : path of .rtorrent.rc
  • /config/rutorrent/conf : global configuration of rutorrent
  • /config/rutorrent/share : rutorrent user configuration and cache
  • /config/custom_plugins : add your own plugins
  • /config/custom_themes : add your own themes
  • /config/filebot : add your License file in this folder
  • /config/filebot/args_amc.txt : configuration of fn:amc script of filebot
  • /config/filebot/postdl : modify postdl script, example here

Ports

  • 8080
  • PORT_RTORRENT (default: 45000)

Usage

Simple launch

docker run --name rutorrent -dt \
  -e UID=1000 \
  -e GID=1000 \
  -p 8080:8080 \
  -p 45000:45000 \
  -v /mnt/docker/rutorrent/config:/config \
  -v /mnt/docker/rutorrent/data:/data \
  mondedie/rutorrent:latest

URL: http://xx.xx.xx.xx:8080

Advanced launch

Add custom plugin :

mkdir -p /mnt/docker/rutorrent/config/custom_plugins
git clone https://github.com/Gyran/rutorrent-ratiocolor.git /mnt/docker/rutorrent/config/custom_plugins

Run container :

docker run --name rutorrent -dt \
  -e UID=1000 \
  -e GID=1000 \
  -e DHT_RTORRENT=on \
  -e PORT_RTORRENT=6881 \
  -e FILEBOT_LICENSE=/config/filebot/FileBot_License_XXXXXXXXX.psm \
  -e FILEBOT_RENAME_METHOD=move \
  -p 9080:8080 \
  -p 6881:6881 \
  -p 6881:6881/udp \
  -v /mnt/docker/rutorrent/config:/config \
  -v /mnt/docker/rutorrent/data:/data \
  mondedie/rutorrent:filebot

URL: http://xx.xx.xx.xx:9080

Add HTTP authentication

docker run --name rutorrent -dt \
  -e UID=1000 \
  -e GID=1000 \
  -e PORT_RTORRENT=46000 \
  -e HTTP_AUTH=true \
  -p 8080:8080 \
  -p 46000:46000 \
  -v /mnt/docker/rutorrent/config:/config \
  -v /mnt/docker/rutorrent/data:/data \
  mondedie/rutorrent:latest

Generate your password:

docker exec -it rutorrent gen-http-passwd
Username: torrent
Password:
Verifying - Password:
Password was generated for the http user: torrent

URL: http://xx.xx.xx.xx:8080

License

Docker image mondedie/rutorrent is released under MIT License.

You can’t perform that action at this time.