Add Deluge
This commit is contained in:
parent
dd589dbe19
commit
83fc195c05
|
@ -0,0 +1,16 @@
|
||||||
|
FROM buildpack-deps:xenial-scm
|
||||||
|
MAINTAINER Jean Froment <froment.je@gmail.com>
|
||||||
|
|
||||||
|
RUN apt-get update; apt-get install -y \
|
||||||
|
deluged \
|
||||||
|
deluge-web
|
||||||
|
|
||||||
|
ADD entrypoint.sh /opt/entrypoint.sh
|
||||||
|
RUN chmod a+x /opt/entrypoint.sh
|
||||||
|
|
||||||
|
VOLUME /config
|
||||||
|
VOLUME /torrents
|
||||||
|
|
||||||
|
EXPOSE 8112 58846 53160 53160/udp
|
||||||
|
|
||||||
|
CMD ["/opt/entrypoint.sh"]
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rm -f /config/deluged.pid
|
||||||
|
|
||||||
|
mkdir -p /config/deluge
|
||||||
|
|
||||||
|
deluged -c /config/deluge -L info -l /config/deluge/deluged.log
|
||||||
|
deluge-web -c /config/deluge
|
|
@ -47,6 +47,16 @@ http {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
include common.conf;
|
||||||
|
server_name ~^(deluge)(\.\w+)+$;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
set $deluge http://deluge:8112;
|
||||||
|
proxy_pass $deluge;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
include common.conf;
|
include common.conf;
|
||||||
server_name ~^(plex)(\.\w+)+$;
|
server_name ~^(plex)(\.\w+)+$;
|
||||||
|
|
|
@ -25,6 +25,7 @@ done
|
||||||
docker build -t fromenje/seedbox:frontend $ARGS Dockerfiles/frontend &
|
docker build -t fromenje/seedbox:frontend $ARGS Dockerfiles/frontend &
|
||||||
docker build -t fromenje/seedbox:plex $ARGS Dockerfiles/plex &
|
docker build -t fromenje/seedbox:plex $ARGS Dockerfiles/plex &
|
||||||
docker build -t fromenje/seedbox:rtorrent $ARGS Dockerfiles/rtorrent &
|
docker build -t fromenje/seedbox:rtorrent $ARGS Dockerfiles/rtorrent &
|
||||||
|
docker build -t fromenje/seedbox:deluge $ARGS Dockerfiles/deluge &
|
||||||
docker build -t fromenje/seedbox:sonarr $ARGS Dockerfiles/sonarr &
|
docker build -t fromenje/seedbox:sonarr $ARGS Dockerfiles/sonarr &
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
|
@ -38,6 +38,21 @@ services:
|
||||||
- config:/config
|
- config:/config
|
||||||
- torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
||||||
|
deluge:
|
||||||
|
image: fromenje/seedbox:deluge
|
||||||
|
build: Dockerfiles/deluge
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- main
|
||||||
|
ports:
|
||||||
|
- "8112:8112"
|
||||||
|
- "58846:58846"
|
||||||
|
volumes:
|
||||||
|
- torrents:/torrents
|
||||||
|
- config:/config
|
||||||
|
env_file:
|
||||||
|
- config
|
||||||
|
|
||||||
plex:
|
plex:
|
||||||
image: fromenje/seedbox:plex
|
image: fromenje/seedbox:plex
|
||||||
build: Dockerfiles/plex
|
build: Dockerfiles/plex
|
||||||
|
|
Loading…
Reference in New Issue