This is a Docker image for SABnzbd - the Open Source Binary Newsreader written in Python.
The Docker image currently supports:
- running SABnzbd under its own user (not
root
) - changing of the UID and GID for the SABnzbd user
- support for OpenSSL / HTTPS encryption
- support for RAR archives
- support for ZIP archives
- support for 7Zip archives (with SABnzbd version >= 0.8)
- support for the latest
par2
repair utility (improved with SABnzbd version >= 0.8)
To run the SABnzbd container you can execute:
docker run --name sabnzbd -v <datadir path>:/datadir -v <media path>:/media -p 8080:8080 sabnzbd/sabnzbd
Open a browser and point it to http://my-docker-host:8080
You can also run the SABnzbd container by using Docker Compose.
If you've cloned the git repository you can build and run the Docker container locally (without the Docker Hub):
docker-compose up -d
If you want to use the Docker Hub image within your existing Docker Compose file you can use the following YAML snippet:
sabnzbd:
image: "sabnzbd/sabnzbd"
container_name: "sabnzbd"
volumes:
- "<datadir path>:/datadir"
- "<media path>:/media"
ports:
- "8080:8080"
restart: always
Please mount the following volumes inside your SABnzbd container:
/datadir
: Holds all the SABnzbd data files (e.g. config, postProcessing)/media
: Directory for media (downloaded files)
By default the SABnzbd configuration is located on /datadir/config.ini
.
If you want to change this you've to set the CONFIG
environment variable, for example:
CONFIG=/datadir/sabnzbd.ini
By default SABnzbd runs with user ID and group ID 666
.
If you want to run SABnzbd with different ID's you've to set the SABNZBD_UID
and/or SABNZBD_GID
environment variables, for example:
SABNZBD_UID=1234
SABNZBD_GID=1234
SABnzbd brings a lot of improvements in version 0.8
and greater. This image is built to use those improvements, which means:
- you can use the latest
par2
utility and set Extra PAR2 Parameters in your SABnzbd config switches-t
for usingpar
with multi-core CPUs (see also this wiki page)-N
to improve failed repairs (see also this forum thread)
- you can use 7Zip to unpack
.7z
archives