From 0e3f4e8fdb6eb674521b90cc38740a3663cdfc3c Mon Sep 17 00:00:00 2001 From: Adam Dodman Date: Sat, 27 May 2017 23:10:19 +0100 Subject: [PATCH] Add Hydra Support --- docker-compose.yml | 6 ++++++ nginx.cfg | 6 ++++++ update.sh | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0177f95..5f87fa0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,12 @@ services: - container:media restart: always + hydra: + image: adamant/nzbhydra + volumes: + - $VOLDIR/hydra:/config + restart: always + sickrage: image: adamant/sickrage depends_on: diff --git a/nginx.cfg b/nginx.cfg index d3b1871..c4a9c12 100644 --- a/nginx.cfg +++ b/nginx.cfg @@ -86,5 +86,11 @@ server { auth_request /auth-admin; proxy_pass http://couchpotato:5050; } + + location /hydra { + auth_request /auth-admin; + proxy_pass http://hydra:5075; + } + } diff --git a/update.sh b/update.sh index 038c1e5..c20408e 100644 --- a/update.sh +++ b/update.sh @@ -4,8 +4,8 @@ # Prereqs: docker, docker-compose, curl (https), git export VOLDIR="/volumes/media-server" -SERVICES=("couchpotato" "deluge" "nzbget" "plex" "plexpy" "sickrage" "nginx") -SERVICEUID=("901" "902" "904" "900" "905" "906" "0") +SERVICES=("couchpotato" "deluge" "nzbget" "plex" "plexpy" "sickrage" "nginx" "hydra") +SERVICEUID=("901" "902" "904" "900" "905" "906" "0" "907") [[ $EUID -ne 0 ]] && echo "Please run this script as root" && exit 1