mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-04 21:27:29 -07:00
Added plex
This commit is contained in:
parent
e146ec7c2f
commit
20b62ee867
27
plex/README.md
Normal file
27
plex/README.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Plex
|
||||||
|
|
||||||
|
A self hosted plex server that is basically the vanilla plex docker container.
|
||||||
|
|
||||||
|
### Requirements
|
||||||
|
|
||||||
|
The container expects its mounted folders to exist already, before it's created.
|
||||||
|
Either create the following or mount a drive to /data/plex that has your data.
|
||||||
|
- `/data/persistent/plex/tvseries`
|
||||||
|
- `/data/persistent/plex/movies`
|
||||||
|
- `/data/persistent/plex/photos`
|
||||||
|
- `/data/persistent/plex/homevideos`
|
||||||
|
- `/data/persistent/plex/transcode`
|
||||||
|
|
||||||
|
(If Docker has been installed with snap, while installing the OS, you'll have issues here. It's better to seperately install docker-ce and docker-compose.
|
||||||
|
|
||||||
|
### Start with Docker Compose:
|
||||||
|
|
||||||
|
`docker-compose up -d`
|
||||||
|
|
||||||
|
### Start with Plain Docker
|
||||||
|
|
||||||
|
`docker run -d --name=plex --net=host -e PUID=1000 -e PGID=1000 -e VERSION=docker -e PLEX_CLAIM= `#optional` -v /data/persistent/plex/library:/config -v /data/persistent/plex/tvseries:/tv -v /data/persistent/plex/movies:/movies -v /data/persistent/plex/transcode:/transcode --restart always ghcr.io/linuxserver/plex`
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
|
||||||
|
When navigating to plex, assuming no nginx routing is happening, you must go to `http://[ip address]:32400/web/index.html#!/` for first time setup. Just going to port 32400 doesn't work for some reason until after the setup is complete.
|
22
plex/docker-compose.yml
Normal file
22
plex/docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
plex:
|
||||||
|
image: ghcr.io/linuxserver/plex:latest
|
||||||
|
container_name: plex
|
||||||
|
network_mode: host
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- VERSION=docker
|
||||||
|
volumes:
|
||||||
|
- /data/persistent/plex/:/config
|
||||||
|
- /data/persistent/plex/tvseries:/tv
|
||||||
|
- /data/persistent/plex/movies:/movies
|
||||||
|
- /data/persistent/plex/photos:/photos
|
||||||
|
- /data/persistent/plex/homevideos:/homevideos
|
||||||
|
- /data/persistent/plex/transcode:/transcode
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=false"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user