From d1f19afc75d2f78658898b4d04500e2a4712b9de Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Thu, 11 Jan 2024 17:31:32 -0300 Subject: [PATCH] Made changes to include sabnzbd in YAMS --- docker-compose.example.yaml | 20 ++++++++++++++++++-- docs.org | 8 ++++++-- install.sh | 8 ++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml index e5b7065..af1f36e 100644 --- a/docker-compose.example.yaml +++ b/docker-compose.example.yaml @@ -25,13 +25,28 @@ services: environment: - PUID=${PUID} - PGID=${PGID} - - WEBUI_PORT=8080 + - WEBUI_PORT=8081 volumes: - ${MEDIA_DIRECTORY}/downloads:/downloads - ${INSTALL_DIRECTORY}/config/qbittorrent:/config restart: unless-stopped ports: # qbittorrent - - 8080:8080 # qbittorrent + - 8081:8081 # qbittorrent + #network_mode: "service:gluetun" + + # SABnzbd is used to download from usenet + sabnzbd: + image: lscr.io/linuxserver/sabnzbd:latest + container_name: sabnzbd + environment: + - PUID=${PUID} + - PGID=${PGID} + volumes: + - ${MEDIA_DIRECTORY}/downloads:/downloads + - ${INSTALL_DIRECTORY}/config/sabnzbd:/config + restart: unless-stopped + ports: # sabnzdb + - 8080:8080 # sabnzbd #network_mode: "service:gluetun" # Sonarr is used to query, add downloads to the download queue and index TV shows @@ -141,6 +156,7 @@ services: - 8388:8388/tcp # Shadowsocks - 8388:8388/udp # Shadowsocks #- 8080:8080/tcp # gluetun + #- 8081:8081/tcp # gluetun volumes: - ${INSTALL_DIRECTORY}/config/gluetun:/config environment: diff --git a/docs.org b/docs.org index 2c6b3b6..85d70e2 100644 --- a/docs.org +++ b/docs.org @@ -140,7 +140,8 @@ running_services_location() { host_ip=$(hostname -I | awk '{ print $1 }') services=( - "qBittorrent:8080" + "qBittorrent:8081" + "SABnzbd:8080" "Radarr:7878" "Sonarr:8989" "Lidarr:8686" @@ -393,8 +394,11 @@ if [ "$setup_vpn" == "y" ]; then -e "s|vpn_password|$vpn_password|g" "$env_file" \ -e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \ -e "s|ports: # qbittorrent|#ports: # qbittorrent|g" "$filename" \ - -e "s|- 8080:8080 # qbittorrent|#- 8080:8080 # qbittorrent|g" "$filename" \ + -e "s|- 8081:8081 # qbittorrent|#- 8081:8081 # qbittorrent|g" "$filename" \ + -e "s|ports: # sabnzdb|#ports: # sabnzbd|g" "$filename" \ + -e "s|- 8080:8080 # sabnzbd|#- 8080:8080 # sabnzbd|g" "$filename" \ -e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename" + -e "s|#- 8081:8081/tcp # gluetun|- 8081:8081/tcp # gluetun|g" "$filename" fi #+end_src diff --git a/install.sh b/install.sh index aa872ae..a94ba50 100644 --- a/install.sh +++ b/install.sh @@ -52,7 +52,8 @@ running_services_location() { host_ip=$(hostname -I | awk '{ print $1 }') services=( - "qBittorrent:8080" + "qBittorrent:8081" + "SABnzbd:8080" "Radarr:7878" "Sonarr:8989" "Lidarr:8686" @@ -236,8 +237,11 @@ if [ "$setup_vpn" == "y" ]; then -e "s|vpn_password|$vpn_password|g" "$env_file" \ -e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \ -e "s|ports: # qbittorrent|#ports: # qbittorrent|g" "$filename" \ - -e "s|- 8080:8080 # qbittorrent|#- 8080:8080 # qbittorrent|g" "$filename" \ + -e "s|- 8081:8081 # qbittorrent|#- 8081:8081 # qbittorrent|g" "$filename" \ + -e "s|ports: # sabnzdb|#ports: # sabnzbd|g" "$filename" \ + -e "s|- 8080:8080 # sabnzbd|#- 8080:8080 # sabnzbd|g" "$filename" \ -e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename" + -e "s|#- 8081:8081/tcp # gluetun|- 8081:8081/tcp # gluetun|g" "$filename" fi sed -i -e "s||$filename|g" yams \