Skip to content
/ rfp Public

A quick and dirty media stack built on Docker.

License

Notifications You must be signed in to change notification settings

jdoss/rfp

Repository files navigation

RFP: rtorrent, flood, and plex

RFP is a quick and dirty media stack built on Docker. It comes with rtorrent for downloading torrents, flood for a pretty frontend for rtorrent, and plex to help manage all those public domain movies that you are going to download.

Quick Start

Set some environment vars (run once):

echo "TZ=$(date +%Z)" > .env
echo "FLOOD_SECRET=$(uuidgen)" >> .env

Start RFP:

docker-compose up -d

Ports

Forward these ports from your router to 49264, 6881 for torrents and 32400 for Plex if you want to allow outside access to your media. Run the command below if you are are running these containers on a distro that uses firewalld.

sudo firewall-cmd --zone=FedoraServer --add-port=32400/tcp --add-port=3005/tcp --add-port=8324/tcp --add-port=32469/tcp --add-port=1900/udp --add-port=32410/udp --add-port=32412/udp --add-port=32413/udp --add-port=32414/udp --add-port=6881/tcp --add-port=6881/udp --add-port=49264/tcp --add-port=49264/udp

Remote Server

  1. Open a Terminal window or your command prompt.
  2. Enter the following command and replace 192.168.1.55 with your remote server's IP address.
  3. ssh 192.168.1.55 -L 8888:localhost:32400
  4. Goto http://localhost:8888/web and enable remote access to finish the setup.

Finish Setup

Replace 192.168.1.55 in the link below with your remote server's IP address and finish the server setup.

https://192.168.1.55:32400

Good luck, have fun.

Build Local Images

docker build -t flood -f Dockerfile.flood .
docker build -t rtorrent -f Dockerfile.rtorrent .
docker build -t plex -f Dockerfile.plex .

Todo

  • Give these processes some sort of proper init.
  • Figure out how to to pass a Plex claim token at the initial startup to skip SSH tunnel step.
  • Put Nginx into the mix so this can be run on an internet facing server.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-cool-feature)
  3. Commit your changes (git commit -m 'Add a cool feature')
  4. Push to the branch (git push origin my-cool-feature)
  5. Create new Pull Request

License

The MIT License

Copyright (c) 2017 Joe Doss

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A quick and dirty media stack built on Docker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published