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