Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importing anonine from dev #44

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Transmission and OpenVPN
# Transmission and OpenVPN and Sickrage
#
# Version 1.5
# Version 1.6

FROM ubuntu:14.04
MAINTAINER Kristian Haugene
Expand All @@ -13,7 +13,10 @@ RUN apt-get update \
&& apt-get -y install software-properties-common \
&& add-apt-repository ppa:transmissionbt/ppa \
&& apt-get update \
&& apt-get install -y transmission-cli transmission-common transmission-daemon openvpn curl \
&& apt-get install -y transmission-cli transmission-common transmission-daemon openvpn curl git-core python python-cheetah \
&& git clone git://github.com/SickRage/SickRage.git /var/sickrage \
&& cp /var/sickrage/runscripts/init.debian /etc/init.d/sickrage \
&& update-rc.d sickrage defaults \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& curl -L https://github.com/jwilder/dockerize/releases/download/v0.0.2/dockerize-linux-amd64-v0.0.2.tar.gz | tar -C /usr/local/bin -xzv

Expand Down Expand Up @@ -95,8 +98,11 @@ ENV OPENVPN_USERNAME=**None** \
"TRANSMISSION_UTP_ENABLED=true" \
"TRANSMISSION_WATCH_DIR=/data/watch" \
"TRANSMISSION_WATCH_DIR_ENABLED=true" \
"TRANSMISSION_HOME=/data/transmission-home"

"TRANSMISSION_HOME=/data/transmission-home" \
"SICKRAGE_USERNAME"=username

# Expose port and run
EXPOSE 9091
EXPOSE 8081

CMD ["/etc/openvpn/start.sh"]
3 changes: 3 additions & 0 deletions sickrage/sickrage
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SR_USER=username
SR_HOME=/var/local/
SR_DATA=/var/sickrage/