Giter Site home page Giter Site logo

cristianmiranda / mediabox Goto Github PK

View Code? Open in Web Editor NEW
140.0 6.0 20.0 90 KB

๐Ÿณ Docker based MEDIABOX ๐Ÿ“บ

Home Page: https://git.io/mediabox

License: MIT License

CSS 100.00%
htpc plex sonarr radarr deluge bazarr torrent jackett portainer watchtower

mediabox's Introduction

๐Ÿ“บ Mediabox

What's in the stack?

Multimedia

Security

Prerequisites

Setup

  1. Copy .env.template
cp .env.template .env
  1. Replace variables on .env with whatever makes sense to you (follow the comments above each property).
  2. It might be a good idea to clone this repo inside the external disk if you plan to use it on different machines/architectures.

Starting

# Main stack + Unprotected Torrenting
docker-compose -f docker-compose.yml -f docker-compose.torrents.yml up -d

# Main stack + VPN Protected Torrenting
docker-compose -f docker-compose.yml -f docker-compose.torrents-on-vpn.yml up -d

# Main stack + VPN Protected Torrenting + Plex HW Transcoding
docker-compose -f docker-compose.yml -f docker-compose.torrents-on-vpn.yml -f docker-compose.plex-hw.yml up -d

# Main stack + VPN Protected Torrenting + Plex HW Transcoding + Custom domain & SSL certificates
docker-compose -f docker-compose.yml -f docker-compose.torrents-on-vpn.yml -f docker-compose.plex-hw.yml -f docker-compose.traefik.yml up -d

# Main stack + VPN Protected Torrenting + Plex HW Transcoding + Custom domain & SSL certificates + Calibre Web
docker-compose -f docker-compose.yml -f docker-compose.torrents-on-vpn.yml -f docker-compose.plex-hw.yml -f docker-compose.traefik.yml -f docker-compose.books.yml up -d

Stopping

Use docker-compose down adding -f flag with the same compose files you used for starting the stack.

Updating

Watchtower automatically updates all apps (if docker image update is available) at 4 AM every day.

Custom domain + Let's Encrypt free certificates

In case you own a domain like example.com and you'd like to configure subdomains pointing to your apps like sonarr.example.com or plex.example.com, do the following:

  1. Modify .env:
DOMAIN=example.com
[email protected]
  1. Forward ports 80 and 443 to your mediabox (you can do that changing your router settings).
  2. Include docker-compose.traefik.yml when starting the stack
  3. Check the logs to verify everything is up and running: docker logs -f traefik

VPN

With OpenVPN you can use any VPN provider following these steps:

  1. Download your VPN OpenVPN config files (e.g: NordVPN TCP/UDP config files)
  2. Download your VPN CA file (e.g: NordVPN CA & TLS key files)
  3. Run the following (using NordVPN Brazil#65 as example)
# Copy required files
cp ~/Downloads/br65.nordvpn.com.udp.ovpn ${OPENVPN}/vpn.conf
cp ~/Downloads/br65_nordvpn_com_ca.crt ${OPENVPN}/vpn-ca.crt

# Write credentials
cat <<EOT >> ${OPENVPN}/vpn.auth
[email protected]
YourVPNP4ssw0rD
EOT

Claiming Plex Server

If you have a custom DNS server (like Pi-hole) you might want to add these to your /etc/hosts file:

See more @ https://forums.plex.tv/t/cannot-access-plex-tv-only-on-specific-pc/668567/25

99.81.153.144 my.plexapp.com 3 # added by VPN ByPASS
99.81.164.127 SAME AS ABOVE
108.128.10.254 SAME AS ABOVE
104.20.12.29 plexapp.com 1
104.20.13.29 plexapp.com 1
99.80.231.223 plex.tv
99.81.213.165 plex.tv
99.80.242.242 plex.tv
45.33.73.250 pubsub.plex.tv
172.104.211.98 pubsub.plex.tv

Sonarr/Radarr << Deluge/SABnzbd

This setup follows best practices mentioned on this article, therefore you'll have to map Sonarr/Radarr volumes to Deluge's/SABnzbd's to be able to use hardlinks and/or perform atomic "move" operations instead of "copy+delete" (which takes longer and requires more space).

Architecture

# My disks layout:
#
# data
# โ”œโ”€โ”€ 2tb
# โ”‚ย ย  โ””โ”€โ”€ media
# โ”‚ย ย      โ”œโ”€โ”€ movies
# โ”‚ย ย      โ””โ”€โ”€ tv
# โ”œโ”€โ”€ 4tb
# โ”‚ย ย  โ””โ”€โ”€ media
# โ”‚ย ย      โ”œโ”€โ”€ movies
# โ”‚ย ย      โ””โ”€โ”€ tv
# โ””โ”€โ”€ ssd
#     โ””โ”€โ”€ mediabox
#         โ”œโ”€โ”€ containers
#         โ”œโ”€โ”€ downloads
#         โ””โ”€โ”€ repo

mediabox's People

Contributors

cristianmiranda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mediabox's Issues

Feature Request

Awesome project, just lacking a usenet downloader, like SABnzb. And maybe NZBHydra to as a way to search indexers without needing a web browser.

Any plans for rclone?

Loved your mediabox, Are you planning on adding rclone or something similar to mount with Gdrive? You can keep this optional like your deluge+VPN

404 page not found

install on ubuntu 20 without errors,
after opening the url in the browser all i get is 404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.