-
Notifications
You must be signed in to change notification settings - Fork 19
Revamp the whole media stack #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hkaj
wants to merge
1
commit into
master
Choose a base branch
from
haissam/v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,50 +1,40 @@ | ||
| # Media Server | ||
|
|
||
| A media server configuration to run Plex, Sonarr, Radarr, and Transmission in Docker and behind Traefik. | ||
|
|
||
| A media server configuration to run Jellyfin, Sonarr, Radarr, and qbittorrent in Docker and behind Traefik. | ||
|
|
||
| ## First run | ||
|
|
||
| - install [Docker](https://www.docker.com/) | ||
| - install [Docker Compose](https://docs.docker.com/compose/) | ||
| - create a [Plex accout](https://www.plex.tv/) | ||
| - clone this repository | ||
| - create a `web` docker network with `docker network create web` | ||
| - clone and setup [the reverse proxy](https://github.com/hkaj/reverse_proxy) | ||
| - create a user for your media server, export its `$USER_ID` and `$GROUP_ID`. | ||
| - set your TZ as an env var, using this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List), e.g. "Europe/Paris" | ||
| - create a folder named `media` in this folder (`dockyard`) owned by $USER_ID:$GROUP_ID from your `media` user. | ||
| - get your Plex claim token at https://www.plex.tv/claim/ | ||
| - create a `web` docker network with `docker network create web` | ||
| - run `DOMAIN_NAME="..." PLEX_TOKEN="..." USER_ID="$USER_ID" GROUP_ID="$GROUP_ID" docker-compose up -d` | ||
| - if you want to setup a VPN or SOCKS5 proxy to secure qbittorrent traffic, do that and uncomment the corresponding env var in the qbittorrent service | ||
| - run `DOMAIN_NAME="..." USER_ID="$USER_ID" GROUP_ID="$GROUP_ID" TZ="$TZ" docker compose up -d` | ||
| - profit :) | ||
|
|
||
| ## Config | ||
|
|
||
|
|
||
| ### Transmission | ||
|
|
||
| We use [Transmission](https://transmissionbt.com/) as the downloader. | ||
|
|
||
| - stop transmission's container | ||
| - configure basic auth at `media/transmission/config/settings.json` (you will need to touch `rpc-authentication-required`, `rpc-username` and `rpc-password`) | ||
| - start transmission's container | ||
|
|
||
|
|
||
| ### Sonarr | ||
|
|
||
| We use [Sonarr](https://sonarr.tv/) to track and manage TV shows. | ||
|
|
||
| - setup auto-update and authentication | ||
| - connect transmission as a downloader | ||
|
|
||
|
|
||
| ### Radarr | ||
|
|
||
| We use [Radarr](https://radarr.video/) (a clone of Sonarr) to track and manage movies. | ||
|
|
||
| - setup auto-update and authentication | ||
| - connect transmission as a downloader | ||
|
|
||
|
|
||
| ### Jackett | ||
|
|
||
| We use [Jackett](https://github.com/Jackett/Jackett) as a proxy between private trackers and our other components. | ||
| The expected folder structure is: | ||
|
|
||
| ``` | ||
| media/ | ||
| library/ # where jellyfin will look, and where sonarr/radarr will hardlink to | ||
| movies/ | ||
| tv/ | ||
| torrents/ # where qbittorrent will download content and where sonarr/radarr will hardlink from | ||
| movies/ | ||
| tv/ | ||
| ``` | ||
|
|
||
| * Configure qbittorrent to download torrents | ||
| * To connect to it, check its container logs. It generates a random password upon each start. | ||
| * Create a movies and a tv categories in qbittorent | ||
| * Configure a download client in sonarr and radarr to use qbittorrent, pass them the above mentioned categories | ||
| * Configure indexers in prowlarr | ||
| * Configure prowlarr to connect to sonarr and radarr | ||
| * Configure Sonarr and Radarr to use hardlinking and avoid copying files in `Settings => Media Management => Importing` | ||
| * In Jellyfin, add the opensubtitles plugin | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need to rely on this program made by a black hat?