Sign inSign up

deuxmax/rtorrent

By deuxmax

•Updated over 6 years ago

Image
0

315

deuxmax/rtorrent repository overview

⁠Docker rTorrent

Rtorrent in docker with RPC2 interface and web services.

⁠Example

version: '3.1'
services:
  rtorrent:
    restart: always
    image: deuxmax/rtorrent:latest
    ports:
      - 8080:80
    environment:
      CORS_DOMAIN: http://localhost:3000
      WEBHOOK_URLS: http://localhost:5000,http://localhost:5001
    volumes:
      - ${STORAGE_PATH}/dtorrent/downloaded:/var/rtorrent/downloaded
      - ${STORAGE_PATH}/dtorrent/torrent:/var/rtorrent/torrents
      - ${STORAGE_PATH}/dtorrent/session:/var/rtorrent/session
      - ${STORAGE_PATH}/dtorrent/logs:/var/rtorrent/logs

⁠File system

rTorrent is launching with user torrent (1000:1000), so your volumes mounted should be accessible by 1000.

sudo chown -R 1000:1000 /home/my/data

⁠Volumes

  • /var/rtorrent/torrents : directory of torrent files
  • /var/rtorrent/downloaded : directory of torrent downloaded
  • /var/rtorrent/session : (optional, useful for know historical for up/down rate)
  • /var/rtorrent/logs : logs

⁠Web hook

For add a hook you should put urls in environment variable WEBHOOK_URLS separated with coma.

version: '3'
services:
  rtorrent:
    image: namespace/container:latest
    restart: always
    environment:
      WEBHOOK_URLS: http://localhost,http://localhost:9090/hook
    ports:
      - 8080:80
    volumes:
      - /home/my/data/files:/var/rtorrent/downloaded
      - /home/my/data/torrent:/var/rtorrent/torrents
      - /home/my/data/logs:/var/rtorrent/logs

Tag summary

Content type

Image

Digest

Size

148.8 MB

Last updated

over 6 years ago

docker pull deuxmax/rtorrent