1
0
mirror of https://github.com/Adam-Ant/media-server-in-a-box synced 2024-10-05 01:33:53 +00:00

Add Hydra Support

This commit is contained in:
Adam Dodman 2017-05-27 23:10:19 +01:00
parent 8a78438b4c
commit 0e3f4e8fdb
3 changed files with 14 additions and 2 deletions

View File

@ -17,6 +17,12 @@ services:
- container:media - container:media
restart: always restart: always
hydra:
image: adamant/nzbhydra
volumes:
- $VOLDIR/hydra:/config
restart: always
sickrage: sickrage:
image: adamant/sickrage image: adamant/sickrage
depends_on: depends_on:

View File

@ -86,5 +86,11 @@ server {
auth_request /auth-admin; auth_request /auth-admin;
proxy_pass http://couchpotato:5050; proxy_pass http://couchpotato:5050;
} }
location /hydra {
auth_request /auth-admin;
proxy_pass http://hydra:5075;
}
} }

View File

@ -4,8 +4,8 @@
# Prereqs: docker, docker-compose, curl (https), git # Prereqs: docker, docker-compose, curl (https), git
export VOLDIR="/volumes/media-server" export VOLDIR="/volumes/media-server"
SERVICES=("couchpotato" "deluge" "nzbget" "plex" "plexpy" "sickrage" "nginx") SERVICES=("couchpotato" "deluge" "nzbget" "plex" "plexpy" "sickrage" "nginx" "hydra")
SERVICEUID=("901" "902" "904" "900" "905" "906" "0") SERVICEUID=("901" "902" "904" "900" "905" "906" "0" "907")
[[ $EUID -ne 0 ]] && echo "Please run this script as root" && exit 1 [[ $EUID -ne 0 ]] && echo "Please run this script as root" && exit 1