Closed kennyparsons closed 3 years ago
@kennyparsons - You should (ideally) run the load balancer on the same host as your Plex installation. On Docker, you simply pass in the PMS config volume or host mount (where your Plex data resides).
For examaple:
plex:
image: lsio:plex
volume:
- plex_data:/config
unicorn-loadbalancer:
image: unicorn-loadbalancer
volumes:
- plex_data:/plex_config
environment:
- PLEX_PATH_USR=/plex_config
Hopefully this helps some!
Ok, I was going to try that first, but then I thought about it:
/var/lib/plexmediaserver
and /usr/lib/plexmediaserver
are very different paths (/usr...
is where the transcode binaries are stored. /var...
is where the config files are stored (on a non-docker installation). So you're saying for both PLEX_PATH_USR
and PLEX_PATH_SESSIONS
I should use the config directory passed into the docker settings? ie:
PLEX_PATH_USR=/home/me/plex/config
PLEX_PATH_SESSIONS=/home/me/plex/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions
where my plex docker-compose is
...
volumes:
- /home/me/plex/config/:/config
...
Also, is there an official docker image for unicorn? It looks like you're using an example of one, but i cannot find it.
/usr/lib/plexmediaserver
is not exposed to the host. So i'm not sure what value to use. PLEX_PATH_USR