From f6f34734eb9075bd08dbd083cd6f06dcf9895f2f Mon Sep 17 00:00:00 2001 From: Adam Dodman Date: Wed, 8 Feb 2017 23:46:50 +0000 Subject: [PATCH] Add support for Radarr --- docker-compose.yml | 10 ++++++++++ nginx.cfg | 8 ++++++++ start.sh | 4 ++-- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 31d5be5..574a85d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -54,6 +54,16 @@ services: - container:media restart: always + radarr: + image: adamant/radarr + depends_on: + - deluge + - nzbget + volumes_from: + - data + - container:media + restart: always + plex: image: adamant/alpine-plex depends_on: diff --git a/nginx.cfg b/nginx.cfg index 2e38870..643b225 100644 --- a/nginx.cfg +++ b/nginx.cfg @@ -84,3 +84,11 @@ server { proxy_pass http://headphones:8181; } } +server { + listen 80; + server_name radarr.genie; + + location / { + proxy_pass http://radarr:7878; + } +} diff --git a/start.sh b/start.sh index 7924dbf..6bd66b0 100644 --- a/start.sh +++ b/start.sh @@ -4,8 +4,8 @@ # Prereqs: docker, docker-compose, curl (https) export VOLDIR="/volumes/media-server" -SERVICES=("couchpotato" "deluge" "headphones" "nzbget" "plex" "plexpy" "sickrage" "launcher") -SERVICEUID=("745" "647" "526" "236" "787" "426" "439" "0") +SERVICES=("couchpotato" "deluge" "headphones" "nzbget" "plex" "plexpy" "sickrage" "launcher" "radarr") +SERVICEUID=("745" "647" "526" "236" "787" "426" "439" "0" "368") [[ $EUID -ne 0 ]] && echo "Please run this script as root" && exit 1