Skip to content

Add SABNZBD - A new treasure request #7

@Gilgameshxg

Description

@Gilgameshxg

🏴‍☠️ What problem be troubling you
It would be nice to have SABNZBD for those that use QBittorrent and SABNZBD.

💰 The treasure you seek
Adding SABNZBD to the stack.

🗺️ Other routes you thought about
Below is what I have done so far on this.

🧭 Extra details

  1. I had to add the folder "sabnzbd" to download the sabnzbd docker image and config files to in Plundarr.

  2. The following will be in the YML file.

First I added the Port to Gluetun section which I had to go into the config file for sabnzbd and change the defualt port or else it would conflict with the one for "QBITTORRENT_WEBUI_PORT".

  gluetun:
    ports:
      - ${QBITTORRENT_TCP_PORT}:6881
      - ${QBITTORRENT_UDP_PORT}:6881/udp
      - ${QBITTORRENT_WEBUI_PORT}:8080
      - ${SABNZBD_WEBUI_PORT}:8081

I added the SABNZBD after QBittorrent.

  sabnzbd:
    <<: *a5
    image: lscr.io/linuxserver/sabnzbd:${SABNZBD_TAG}
    container_name: sabnzbd-${SABNZBD_TAG}
    network_mode: service:gluetun
    volumes:
      # Configuration files
      - ${SABNZBD_CONFIG_PATH}:/config:rw
      # Map in a separate completed downloads directory
      - ${HOST_SABNZBD_DOWNLOADS_COMPLETE_PATH}:/sabnzbd_downloads_complete:rw
      # Map in a separate incomplete downloads directory
      - ${HOST_SABNZBD_DOWNLOADS_INCOMPLETE_PATH}:/sabnzbd_downloads_incomplete:rw
      # Once the SABnzbd container is up, use the UI to set what downloads go in which folder
    healthcheck:
      test:
        - CMD-SHELL
        - wget -qO- http://localhost:${SABNZBD_WEBUI_PORT} | grep -q 'sabnzbd'
      <<: *a4
    depends_on:
      gluetun:
        condition: service_healthy
  1. The following is in the ENV. file.
#
# Host paths to downloads and media folders
#
HOST_TORRENT_DOWNLOADS_COMPLETE_PATH="${HOST_TORRENT_DOWNLOADS_COMPLETE_PATH:-/mnt/Pool/Dataset/Torrents/Complete}"
HOST_TORRENT_DOWNLOADS_INCOMPLETE_PATH="${HOST_TORRENT_DOWNLOADS_INCOMPLETE_PATH:-/mnt/Pool/Dataset/Torrents/Incomplete}"
HOST_SABNZBD_DOWNLOADS_COMPLETE_PATH="${HOST_SABNZBD_DOWNLOADS_COMPLETE_PATH:-/mnt/Pool/Dataset/Usenet/Complete}"
HOST_SABNZBD_DOWNLOADS_INCOMPLETE_PATH="${HOST_SABNZBD_DOWNLOADS_INCOMPLETE_PATH:-/mnt/Pool/Dataset/Usenet/Incomplete}"
HOST_MOVIES_PATH="${HOST_MOVIES_PATH:-/mnt/Pool/Dataset/movies}"
HOST_TV_PATH="${HOST_TV_PATH:-/mnt/Pool/Dataset/tv}"
HOST_ANIME_MOVIES_PATH="${HOST_ANIME_MOVIES_PATH:-/mnt/Pool/Dataset/Anime/Movies}"
HOST_ANIME_TV_PATH="${HOST_ANIME_TV_PATH:-/mnt/Pool/Dataset/Anime/Shows}"

The following was added after the QBittorrent section.

#
# SABnzbd environment variables
#
SABNZBD_TAG="${SABNZBD_TAG:-latest}"
SABNZBD_WEBUI_PORT="${SABNZBD_WEBUI_PORT:-8081}"
SABNZBD_CONFIG_PATH="${SABNZBD_CONFIG_PATH:-./config/sabnzbd}"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions