modification of linuxserver/sabnzbd to work within my environment
226
Slight modification of the linuxserver/sabnzbd image.
Here's the content of the Dockerfile I created for my use:
FROM linuxserver/sabnzbd
RUN groupadd -g 489 plex && useradd --no-log-init -r -g 489 -u 495 plex
VOLUME /watchfolder
The uid and gid is spcecific to my usage case at home. I also added the wachfolder to manually add nzb files.
Here's the script I use to start up the container.
docker run -d
--name=sabnzbd
--net home-net
-e PUID=495
-e PGID=489
-e TZ=America/Denver
-p 8080:8080
-p 9090:9090
-v /root/docker/sabnzbd/config:/config
-v /data/sabnzb/downloads:/downloads
-v /data/sabnzb/incomplete:/incomplete-downloads
-v /data/sabnzb/watchfolder:/watchfolder
--restart unless-stopped
skipchang/sabnzbd
I created an internal docker network, home-net. All three of my containers (radarr, sonarr and sabnzbd) are on the private bridge. This allows easier communications between the containers.
NOTE: The key to making sabnzbd work with both sonarr and radarr is to make sure all three containers have exact same path to the "/downloads" path. When sabnzbd send the download confirmation to either sonarr or radarr, it uses an absolute path to the downloads path. Unless both sonarr and radarr is using the same path, the post download processing by sonarr or radarr will fail. Learned this lesson the hard way -- 3 days of experimenting :-).
Content type
Image
Digest
Size
86.7 MB
Last updated
over 7 years ago
docker pull skipchang/sabnzbd