From 518b26586c9fdff160fb88cabdf049895f2b4649 Mon Sep 17 00:00:00 2001 From: "Stian Larsen (lonix)" Date: Thu, 24 Sep 2015 09:33:57 +0200 Subject: [PATCH] Added support for moveing transcode --- Dockerfile | 2 +- README.md | 3 +++ plexmediaserver | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5728087..e3f63fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,5 +22,5 @@ RUN chmod -v +x /etc/my_init.d/*.sh ADD plexmediaserver /defaults/plexmediaserver #Mappings and ports -VOLUME /config +VOLUME ["/config", "/transcode"] EXPOSE 32400 \ No newline at end of file diff --git a/README.md b/README.md index 219f765..3875be7 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ docker create \ --net=host \ -e VERSION="plexpass" \ -e PUID= -e PGID= \ + -v :/transcode \ -v :/config \ -v :/data/tvshows \ -v :/data/movies \ @@ -26,6 +27,7 @@ docker create \ * `--net=host` - Shares host networking with container, **required**. * `-v /config` - Plex library location. *This can grow very large, 50gb+ is likely for a large collection.* +* `-v /transcode` *(optional)* - Transcode directory to offload heavy writes in a docker container. * `-v /data/xyz` - Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. * `-e VERSION` - Set this to a full version number if you want to use a specific version e.g. `0.9.12.4.1192-9a47d21`, or set it to `plexpass` or `latest` * `-e PGID` for for GroupID - see below for explanation @@ -44,6 +46,7 @@ Part of what makes our containers work so well is by allowing you to specify you ## Changelog ++ **24.09.2015:** added optional support for volume transcoding (/transcode), and various typo fixes. + **17.09.2015:** Changed to run chmod only once + **19.09.2015:** Plex updated their download servers from http to https + **28.08.2015:** Removed plexpass from routine, and now uses VERSION as a combination fix. diff --git a/plexmediaserver b/plexmediaserver index 1752115..490b9bc 100644 --- a/plexmediaserver +++ b/plexmediaserver @@ -7,7 +7,7 @@ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000 # where the mediaserver should store the transcodes -PLEX_MEDIA_SERVER_TMPDIR=/tmp +PLEX_MEDIA_SERVER_TMPDIR=/trancecode # uncomment to set it to something else PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support"