Skip to content

flosoft/docker-rtorrent-flood

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

florider89/rtorrent-flood

Be aware this image was made for my own use.

Main features

  • Based on Alpine Linux.
  • rTorrent and libtorrent are compiled from source.
  • Provides by default a solid configuration.
  • Flood, a modern web UI for rTorrent with a Node.js backend and React frontend (jesec fork).
  • Automatically unpack RAR releases (so Sonarr can deal with them).

Build-time variables

  • RTORRENT_VER : rtorrent version
  • LIBTORRENT_VER : libtorrent version
  • MEDIAINFO_VER : libmediainfo version
  • BUILD_CORES : number of cores used during build

Environment variables

  • UID : user id (default : 991)
  • GID : group id (defaut : 991)
  • FLOOD_SECRET : flood secret key (defaut : mysupersecretkey) (CHANGE IT)
  • WEBROOT : context path (base_URI) (default : /)
  • RTORRENT_SOCK : true or false (default : true, if false rtorrent listens on 0.0.0.0:5000)
  • PKG_CONFIG_PATH : /usr/local/lib/pkgconfig (don't touch)
  • DISABLE_AUTH : disables Flood built-in authentication system (default : false)

Note

  • Run this container with tty mode enabled. In your docker-compose.yml, add tty: true. If you don't do this, rtorrent will use 100% of CPU.
  • Connect Flood UI to rTorrent through Unix socket. Enter /tmp/rtorrent.sock as rTorrent Socket. If SCGI is used, configure accordingly.

Ports

<<<<<<< HEAD

Tags

  • latest : latest versions of rTorrent/libtorrent.
  • Use $RTORRENT_VER-$LIBTORRENT_VER to get specific versions of rTorrent/libtorrent. =======

Tags

  • latest : latest versions of rTorrent/libtorrent/Flood.

3e900a06e05d9639cf3fc5faad7bd89799c81b59

Volumes

  • /data : your downloaded torrents, session files, symlinks...
  • /flood-db : Flood databases.

Advanced - Running using docker-compose

You can find a sample docker-compose.yml file that configures both Flood + rTorrent but also Sonarr. This configuration supports hardlinks between Sonarr and Flood / rTorrent. Also make sure to mount the nginx.conf file, a template of which can be found in the repository as well.

Items to configure in docker-compose.yml

Value Description
UID / GID The User ID and Group ID the process should run as. Set this to make sure that rTorrent, Sonarr and your host system can modify downloaded files.
FLOOD_SECRET Flood secret key (defaut : mysupersecretkey) (CHANGE IT)
LOCAL CONFIG DIRECTORY The directory mounted for the configuration database and files for Flood
LOCAL CONFIG FOR SONAR The mount for the Sonar configuration directory
PARENT DATA FOLDER FOR RTORRENT The directory that will be set as the default download directory as well as storage for the rtorrent session. For Sonarr, create a tv folder in here.
LOCAL MOUNT TO NGINX.CONF Mounting the nginx.conf file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dockerfile 66.1%
  • JavaScript 20.6%
  • Shell 13.3%