From 02b1f26fb12214605457812c75e33a0ea61967a4 Mon Sep 17 00:00:00 2001 From: Jean Froment Date: Mon, 27 Mar 2017 15:18:50 +0200 Subject: [PATCH] Add plex-webtools (still testing phase) --- Dockerfiles/plex-webtools/Dockerfile | 19 +++++++++++++++++++ README.md | 4 ++-- docker-compose.yml | 11 +++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 Dockerfiles/plex-webtools/Dockerfile diff --git a/Dockerfiles/plex-webtools/Dockerfile b/Dockerfiles/plex-webtools/Dockerfile new file mode 100644 index 0000000..bb1768b --- /dev/null +++ b/Dockerfiles/plex-webtools/Dockerfile @@ -0,0 +1,19 @@ +FROM alpine:3.5 +MAINTAINER Jean Froment + +RUN apk add ca-certificates wget unzip && update-ca-certificates \ + && $wt_tag=$(curl -sX GET "https://api.github.com/repos/ukdtom/WebTools.bundle/releases/latest" \ + | awk '/tag_name/{print $4;exit}' FS='[""]') \ + && curl -sL "https://github.com/ukdtom/WebTools.bundle/releases/download/$wt_tag/WebTools.bundle.zip" \ + | tar xz -C /opt \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +VOLUME /config + +RUN mkdir -p "/config/Plex Media Server/" \ + && cp /opt/WebTools.bundle.zip /config/Plex\ Media\ Server/ \ + && unzip /config/Plex\ Media\ Server/WebTools.bundle.zip \ + && rm -f /opt/WebTools.bundle.zip /config/Plex\ Media\ Server/WebTools.bundle.zip + +EXPOSE 33443 diff --git a/README.md b/README.md index 2cd330d..0beb082 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A collection of Dockerfiles and a docker-compose configuration to set up a seedbox and personal media server. -# Credits +## Credits Main credits go to [Kelvin Chen](https://github.com/Kelvin-Chen/seedbox) who started the development of its own seedbox using Docker. Mine was first a fork of Kelvin's one, but I made some serious changes in the code and plan to add even more tools and services that keeping this project as a fork started to have less sense as code diverged. ## Accessing a Service's Web Interface @@ -69,5 +69,5 @@ think the convenience outweighs that. All you have to do is set the ## Where is my data? All data is saved in the docker volumes `seedbox_config` or `seedbox_torrents`. -These volumes are mapped to the `config` and `torrents` located in `/data` on the host. You can change these static path in the docker-compose.yml file. +These volumes are mapped to the `config` and `torrents` folders located in `/data` on the host. You can change these static paths in the docker-compose.yml file. Thanks to the **local-persist** Docker plugin, the data located in these volumes is persistent, meaning that volumes are not deleted, even when using the ```docker-compose down``` command. It would be a shame to loose everything by running a simple docker command ;-) diff --git a/docker-compose.yml b/docker-compose.yml index 6ecbf1b..f8a6a4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,6 +66,17 @@ services: env_file: - config + plex-webtools: + image: fromenje/seedbox:plex-webtools + build: Dockerfiles/plex-webtools + restart: always + networks: + - main + ports: + - 33443:33443 + volumes: + - config:/config + sonarr: image: fromenje/seedbox:sonarr build: Dockerfiles/sonarr