Skip to content

ntolppi/plex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Home Plex Server

Plex server using Traefik for reverse proxy and acme Let's Encrypt SSL certificate handling.

About

Uses Traefik to route requests to plex.nzti.net to plex backend container Routes are configured in the docker-compose.yml labels

labels:
  - traefik.http.routers.plex.rule=Host(`plex.nzti.net`)

Setup

Add Plex Claim Token

  1. Go to plex.tv/claim to generate the claim token
  2. Add claim token to docker-compose.yml PLEX_CLAIM environment variable for plex service

Add email for Let's Encrypt acme

  1. Add email to traefik.toml

Start Traefik and Plex

docker-compose up -d

Setup Plex

  1. Navigate to https://plex.nzti.net/setup
  2. Setup Plex with name and mapping to volumes
  3. Ready to use Plex with a certificate setup!

Troubleshooting

Acme.json permission / file not found error

The docker-compose volumes has letencrypt directory, which should auto be created when running docker-compose up -d, if it isn't create a letsencrypt directory

mkdir letsencrypt

In the letsencrypt directory an acme.json file will be created, DO NOT MAKE ONE YOURSELF! Making acme.json in letsencrypt can cause Let's Encrypt certificate generation to fail silently giving the error:

Resolver not found for le

Challenge response required for ACME certificate generation

Error in acme certificate generation caused by the httpChallenge endpoint from being reachable. Make sure port 80 is reachable.

External Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published