This image allows you to configure a Plex Media Server easily thanks to Docker.
First, you have to mount your USB drive.
sudo mount /dev/sda1 /mnt/usbdrive
This will start Plex using your mounted drive
docker run -d --restart=always --name plex -v /mnt/usbdrive:/media --net=host jaymoulin/rpi-plex
Go to http://raspberry_ip:32400 to configure it
You can change the Plex Library directory by plugin your local folder to /root/Library
folder
Example :
docker run -d --restart=always --name plex -v /mnt/usbdrive:/media --net=host -v /mnt/usbdrive:/root/Library jaymoulin/rpi-plex
When Plex Media Server new version is released, you will be able to update your running version with this command:
docker exec plex apt-get update && docker exec plex apt-get upgrade -y
If you don't have Docker installed yet, you can do it easily in one line using this command
curl -sSL "https://gist.githubusercontent.com/jaymoulin/e749a189511cd965f45919f2f99e45f3/raw/054ba73080c49a0fcdbc6932e27887a31c7abce2/ARM%2520(Raspberry%2520PI)%2520Docker%2520Install" | sudo sh && sudo usermod -aG docker $USER
To build this image locally
./build.sh #requires python3