Skip to content

relvacode/mediastack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediastack

Sonarr, Radarr and Plex PMS media server docker-compose stacks.

Features

  • All web applications protected by OAuth2 (such as Google accounts)
  • SSL terminating proxy with LetsEncrypt certificates
  • VPN enabled Deluge client

Files

These stacks assume that all media and torrent data is stored in /var/lib/ds.

All applicaition data is stored in /var/lib/docker/persistence.

Web

SSL Proxy

The environment variable VIRTUAL_HOST tells the SSL proxy what DNS domain to host each application on

VIRTUAL_HOST=sonarr.myserver.com docker-compose up

Each application needs its own subdomain to work on, the easiest way to achieve this is to add a wildcard DNS entry for your server and proxy each application to your subdomain of choice. SSL certificates for that domain will be signed automatically.

Oauth

Each application comes bundled with oauth2_proxy for authentication using providers like Google which allows multiple users to login to your server using just their Google account.

A configuration file is expected on the host in /var/lib/docker/persistence/oauth/oauth2_proxy.cfg an example configuration file can be found here.