Discussions: github.com/jesec/flood/discussions/120
/home/jc/dlconfig/mnt/data0jc
id {username}, for example id jc30016881Note that Flood does not pass through arguments to rTorrent at the moment.
As a result, to change rTorrent's configurations, there has to be a .rtorrent.rc config file:
## Import default configurations
import = /etc/rtorrent/rtorrent.rc
## Listening port
network.port_range.set=6881-6881
In my case, I place the custom config file to /home/jc/dlconfig/.rtorrent.rc.
docker run -it --rm \
-e HOME=/config \
-v /home/jc/dlconfig:/config \
-v /mnt/data0:/data \
-u 1000:1001 \
-p 3001:3001 \
-p 0.0.0.0:6881:6881 \
jesec/rtorrent-flood \
--port 3001 \
--allowedpath /data
Alternatively, use Docker Compose:
services:
flood:
image: jesec/flood
user: 1000:1001
restart: unless-stopped
command: --port 3001 --allowedpath /data
environment:
HOME: /config
volumes:
- /home/jc/dlconfig:/config
- /mnt/data0:/data
ports:
- 3001:3001
rtorrent:
image: jesec/rtorrent
user: 1000:1001
restart: unless-stopped
command: -o network.port_range.set=6881-6881,system.daemon.set=true
environment:
HOME: /config
volumes:
- /home/jc/dlconfig:/config
- /mnt/data0:/data
ports:
- 6881:6881
Finally, access Flood and register a user with /config/.local/share/rtorrent/rtorrent.sock rTorrent socket path.
Content type
Image
Digest
sha256:ddcd5c4c0…
Size
101.4 MB
Last updated
4 months ago
docker pull jesec/rtorrent-flood