Code Monkey home page Code Monkey logo

docker-rutorrent's Introduction

mondedie/rutorrent

Features

  • Platform image: linux/amd64, linux/arm64
  • Based on Alpine Linux 3.19
  • php 8.2
  • Provides by default a solid configuration
  • No root process
  • Persitance custom configuration for rutorrent and rtorrent
  • Add your own rutorrent 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 5.1.3
RUTORRENT_VER ruTorrent version optional 4.3.1

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
MODE_DHT DHT mode in rtorrent.rc file (disable,off,on) optional off
PORT_DHT UDP port to use for DHT optional 6881
PEER_EXCHANGE Enable peer exchange (yes,no) optional no
DOWNLOAD_DIRECTORY Torrent download directory optional /data/downloads
CHECK_PERM_DATA Check permissions in the data 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/ratiocolor

Add custom theme :

Donwload a theme for example in this repository https://github.com/artyuum/3rd-party-ruTorrent-Themes.git
And copy the folder in /mnt/docker/rutorrent/config/custom_themes

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.