Add plex-webtools (still testing phase)

This commit is contained in:
Jean Froment 2017-03-27 15:18:50 +02:00
parent 8c97457e73
commit 02b1f26fb1
3 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,19 @@
FROM alpine:3.5
MAINTAINER Jean Froment <froment.je@gmail.com>
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

View File

@ -2,7 +2,7 @@
A collection of Dockerfiles and a docker-compose configuration to set up a A collection of Dockerfiles and a docker-compose configuration to set up a
seedbox and personal media server. 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. 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 ## 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? ## Where is my data?
All data is saved in the docker volumes `seedbox_config` or All data is saved in the docker volumes `seedbox_config` or
`seedbox_torrents`. `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 ;-) 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 ;-)

View File

@ -66,6 +66,17 @@ services:
env_file: env_file:
- config - config
plex-webtools:
image: fromenje/seedbox:plex-webtools
build: Dockerfiles/plex-webtools
restart: always
networks:
- main
ports:
- 33443:33443
volumes:
- config:/config
sonarr: sonarr:
image: fromenje/seedbox:sonarr image: fromenje/seedbox:sonarr
build: Dockerfiles/sonarr build: Dockerfiles/sonarr