Skip to content

Commit

Permalink
add sabnzbd
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
  • Loading branch information
ehazlett committed Sep 12, 2016
1 parent 015c8e4 commit fbce107
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sabnzbd/Dockerfile
@@ -0,0 +1,7 @@
FROM ubuntu:16.04
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list && \
echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y --no-install-recommends \
sabnzbdplus unrar par2 python-yenc unzip python-openssl
EXPOSE 8080
CMD ["sabnzbdplus"]
3 changes: 3 additions & 0 deletions transmission/run.sh
Expand Up @@ -4,13 +4,16 @@ PASS=${PASS:-}
PORT=${PORT:-9091}
PEER_PORT=${PEER_PORT:-51413}
DOWNLOAD_DIR=${DOWNLOAD_DIR:-/downloads}
WATCH_DIR=${WATCH_DIR:-/queue}

mkdir -p /etc/transmission /downloads
cat << EOF > /etc/transmission/settings.json
{
"blocklist-enabled": 1,
"blocklist-url": "http://john.bitsurge.net/public/biglist.p2p.gz",
"download-dir": "$DOWNLOAD_DIR",
"watch-dir": "$WATCH_DIR",
"watch-dir-enabled": true,
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
Expand Down

0 comments on commit fbce107

Please sign in to comment.