Be aware this image was made for my own use.
- 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).
- RTORRENT_VER : rtorrent version
- LIBTORRENT_VER : libtorrent version
- MEDIAINFO_VER : libmediainfo version
- BUILD_CORES : number of cores used during build
- 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)
- Run this container with tty mode enabled. In your
docker-compose.yml
, addtty: 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.
- 49184 (bind it).
- 3000 (reverse proxy!)
<<<<<<< HEAD
- latest : latest versions of rTorrent/libtorrent.
- Use $RTORRENT_VER-$LIBTORRENT_VER to get specific versions of rTorrent/libtorrent. =======
- latest : latest versions of rTorrent/libtorrent/Flood.
3e900a06e05d9639cf3fc5faad7bd89799c81b59
- /data : your downloaded torrents, session files, symlinks...
- /flood-db : Flood databases.
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.
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 |