Skip to content
forked from tom472/mediabox

Container based media tools configuration

License

Notifications You must be signed in to change notification settings

kspillane/mediabox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediabox

Mediabox is meant to be an all Docker Container based media aggregator stack.

Components include:

Prerequisites

PLEASE NOTE

For simplicity's sake (eg. automatic dependency management), the method used to install these packages is Ubuntu 16.04's default package manager, APT. There are several other methods that work just as well, if not better (especially if you don't have superuser access on your system), so use whichever method you prefer. Continue when you've successfully installed all packages listed.

Installation:

(You'll need superuser access to run these commands successfully)

Start by updating and upgrading our current packages:

$ sudo apt update && sudo apt full-upgrade

Install the prerequisite packages:

$ sudo apt install git python bridge-utils

Note - Mediabox uses Docker CE as the default Docker version now - if you skip this and run with older Docker versions you may have issues.

  1. Uninstall old versions: $ sudo apt remove docker docker-engine docker.io It’s OK if apt reports that none of these packages are installed.
  2. Install Docker CE: $ sudo curl -fsSL https://get.docker.com/ | sh
  3. Install Docker-Compose:
$ sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
  1. Set the permissions: $ sudo chmod +x /usr/local/bin/docker-compose
  2. Verify the installation: $ docker-compose -v

Add the current user to the docker group:

$ sudo usermod -aG docker $USER

Adjustment for the the DelugeVPN container

$ sudo /sbin/modprobe iptable_mangle

Reboot your machine manually, or using the command line:

$ sudo reboot


Using mediabox

Once the prerequisites are all taken care of you can move forward with using mediabox.

  1. Clone the mediabox repository: $ git clone https://github.com/tom472/mediabox.git
  2. Change directory into mediabox: $ cd mediabox/
  3. Run the mediabox.sh script: $ ./mediabox.sh Read below for the script questions

Please be prepared to supply the following details after you run Step 4 above.

As the script runs you will be prompted for:

  1. Your Private Internet Access credentials

    • username
    • password
  2. The version of Plex you want to run

    • latest
    • public
    • plexpass

Note: If you choose plexpass as your version you may optionally specify CLAIM_TOKEN - you can get your claim token by logging in at plex.tv/claim

  1. The "style" of Portainer to use

    • auth (will require a password, require a persistent volume map, and will need you to select the endpoint to manage)
    • noauth (will not require a password for access and will automatically connect to the local Docker sock endpoint)
  2. Credentials for the Deluge daemon (this is needed for the CouchPotato container)

    • username
    • password

Upon completion, the script will launch your mediabox containers.

Mediabox has been tested to work on Ubuntu 16.04 LTS - Server and Desktop


Thanks go out to:

@kspillane - Jumped right in and is providing helpful commits / PRs

@mnkhouri - provided a large amount of code clean-up as well as a PR for Mac Support - Not adding the Mac support (yet) but a lot of the code clean-up has been merged in.

@danipolo for the bridge-utils tip

binhex

LinuxServer.io

Docker

Portainer.io


If you enjoy the project -- Fuel it with some caffeine :)

Donate


Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License

MIT License

Copyright (c) 2017 Tom Morgan

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

Container based media tools configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.0%
  • HTML 49.0%