Skip to content

poaudet/media-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Containers Media Stack

Simple docker-compose file to setup a basic media center including library management, torrenting and streaming.

Featured in my blog post on Hashtag-Innovation

Description

This stack include everything needed to download torrent over VPN, manage movies and series libraries and stream your content over your network and beyond.

It setup a common network for all containers and expose ports to host for easy access.

These image are use:

See each specific repository to get more configuration options that you can include in the envrionment variables.

Getting Started

Dependencies

Tested on:

  • Docker Engine 20.10
  • Docker-compose 1.29.2

Installing

Method: Portainer Stack (Recommended)

  1. Check your docker and docker-compose version
$ docker-compose -v && docker -v

See above for required version and update if needed.

Links to official documentation

Or... you may give a try with your package manager.

e.g. for Ubuntu

$ apt update
$ apt install docker-ce docker-ce-cli containerd.io docker-compose
  1. Install Portainer or Portainer Agent. If it's your first or single docker server, you must have Portainer first. Agent alone is not enough
  1. Enter your Portainer Web and select your environmnent

  2. Click on stack, then add stack

  3. Select Use a git repository

  4. Name your stack

  5. Set the Repository URL to https://github.com/poaudet/media-stack.git

  6. Download the .env-sample and rename it to .env

  7. Back to Portainer, click Load variables from .env file and select to file you just rename

  8. Edit variables to suit your needs

  9. Deploy stack!

Method: CLI

  1. Check your docker and docker-compose version
$ docker-compose -v && docker -v

See above for required version and update if needed.

Links to official documentation

Or... you may give a try with your package manager.

e.g. for Ubuntu

$ apt update
$ apt install docker-ce docker-ce-cli containerd.io docker-compose
  1. Clone this repository on your host
$ git clone https://github.com/poaudet/media-stack.git
  1. Edit the file .env-sample for your needs and save it to .env in the same folder of docker-compose.yml

  2. Edit the .env file for any specific configurations.

  3. Run the image

$ docker-compose up -d
  1. Test if everything is up and running
$ docker ps

You should get the list of your running container, including six new ones!

$ curl -I host:port

Where host maybe localhost if you keep the port expose in the docker-compose.yml. Port should be the one of the service you are checking.

You should get this as your first line

HTTP/1.1 301 Moved Permanently 
#Or HTTP/1.1 200 Moved Permanently
...

You can also use the helper script connection_check.sh

$ sh connection_check.sh [ip address of the host/localhost if omitted]

You should get this:

Testing on localhost...
Connection successfull to Jackett
Connection successfull to Flaresolverr
Connection successfull to Radarr
Connection successfull to Sonarr
Connection successfull to Plex
Connection successfull to Torrent
...
  1. Enjoy! :)

Executing program

Everything is running!

You may now access your app through either localhost:port or your container ip address:port

Like http://localhost:9117 for Jackett (or http://172.18.0.2:9117 for the container ip address)

Help

Don't hesitate to open a thread or contact me!

Author

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the GPL-3.0 License - see the LICENSE for details

Acknowledgments

README based on this

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages