wnielson / Plex-Remote-Transcoder

A distributed transcoding backend for Plex
MIT License
646 stars 58 forks source link

Docker Support #59

Open sharef88 opened 7 years ago

sharef88 commented 7 years ago

Has anyone tried setting this up in a docker container? I'm particularly interested in having it in docker swarm mode as a service.

deevus commented 7 years ago

Yep. https://github.com/deevus/docker-plex-remote-transcoder

It was working, albiet with an older version of Plex.

It's been a while since I've looked at it (my setup at home doesn't require it). If you have the skills (it sounds like you do) I'd happily take pull requests.

liviynz commented 7 years ago

I believe one of users has done work with docker, I'll try and find out which one. From memory I believe he's subscribed to out gitter room so you can try there. One thing to be careful of though is if you've been trying to get anything docker related since about PMS 1.4/1.5 & some of the earlier 1.6 releases there is a known issue with docker and there's known issues with PRT with those as well so that would explain any problems you've been having.

sharef88 commented 7 years ago

I have basically everything in my environment dockerized, Its a nice solution to the problem of rebuilding everything when I inevitably break something. I'll see if I can confirm the docker-prt solution works with the current version, and possibly update it for docker-swarm mode.

rob256 commented 7 years ago

+1 I have some docker experience but not with swarm. I'm happy to help out / code review anything docker related.

DiscoLives4ever commented 7 years ago

A few months late, but playing around with deevus's code I was able to get it working. I had to tweak a couple items for permissions on the ssh keys though.

colek42 commented 6 years ago

@DiscoLives4ever you have the source available. I want to use k8s to make the setup painless of you have a k8s cluster running.

DrEVILish commented 6 years ago

This project is the perfect example of utilising Docker Swarm, with a Docker Plugin like NetShare to use NFS. Keeping the Plex Master off the "swarm" but on a master server, allows for PRT interactions with the Docker.sock to add or remove slaves in the swarm.

Having the slaves as Stateless and only configuring the master would be a much simpler deployment over multiple hosts.