mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-05 05:37:29 -07:00
Update plex
This commit is contained in:
parent
497ebf18e2
commit
3df68771fd
@ -1,27 +1,17 @@
|
||||
# Plex
|
||||
# Plex
|
||||
|
||||
A self hosted plex server that is basically the vanilla plex docker container.
|
||||
A self hosted plex server for home videos.
|
||||
|
||||
### Requirements
|
||||
## Instructions
|
||||
|
||||
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.
|
||||
### File System
|
||||
Create the following mounted folders or connect a drive with your data.
|
||||
- `/pwspool/plex/tvseries`
|
||||
- `/pwspool/plex/movies`
|
||||
- `/pwspool/plex/photos`
|
||||
- `/pwspool/plex/homevideos`
|
||||
- `/pwspool/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.
|
||||
## Notes
|
||||
When navigating to plex, assuming no nginx routing is happening, you must go to `https://[url]/web/index.html#!/` for first time setup.
|
||||
|
||||
### 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.
|
||||
|
@ -1,14 +1,17 @@
|
||||
version: "3"
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
services:
|
||||
plex:
|
||||
image: ghcr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik
|
||||
environment:
|
||||
- PUID=[[USER_ID]]
|
||||
- PGID=[[GROUP_ID]]
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- VERSION=docker
|
||||
volumes:
|
||||
- /pwspool/archive/plex/:/config
|
||||
@ -18,5 +21,8 @@ services:
|
||||
- /pwspool/archive/plex/homevideos:/homevideos
|
||||
- /pwspool/archive/plex/transcode:/transcode
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
- traefik.http.routers.plex.rule=Host(`SITE_URL`)
|
||||
- traefik.http.routers.plex.tls=true
|
||||
- traefik.http.routers.plex.tls.certresolver=lets-encrypt
|
||||
- traefik.http.services.plex.loadbalancer.server.port=3000
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user