Compare commits

...

1 Commits

Author SHA1 Message Date
d1f19afc75
Made changes to include sabnzbd in YAMS 2024-01-11 17:31:32 -03:00
3 changed files with 30 additions and 6 deletions

View File

@ -25,13 +25,28 @@ services:
environment: environment:
- PUID=${PUID} - PUID=${PUID}
- PGID=${PGID} - PGID=${PGID}
- WEBUI_PORT=8080 - WEBUI_PORT=8081
volumes: volumes:
- ${MEDIA_DIRECTORY}/downloads:/downloads - ${MEDIA_DIRECTORY}/downloads:/downloads
- ${INSTALL_DIRECTORY}/config/qbittorrent:/config - ${INSTALL_DIRECTORY}/config/qbittorrent:/config
restart: unless-stopped restart: unless-stopped
ports: # qbittorrent 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" #network_mode: "service:gluetun"
# Sonarr is used to query, add downloads to the download queue and index TV shows # 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/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks - 8388:8388/udp # Shadowsocks
#- 8080:8080/tcp # gluetun #- 8080:8080/tcp # gluetun
#- 8081:8081/tcp # gluetun
volumes: volumes:
- ${INSTALL_DIRECTORY}/config/gluetun:/config - ${INSTALL_DIRECTORY}/config/gluetun:/config
environment: environment:

View File

@ -140,7 +140,8 @@ running_services_location() {
host_ip=$(hostname -I | awk '{ print $1 }') host_ip=$(hostname -I | awk '{ print $1 }')
services=( services=(
"qBittorrent:8080" "qBittorrent:8081"
"SABnzbd:8080"
"Radarr:7878" "Radarr:7878"
"Sonarr:8989" "Sonarr:8989"
"Lidarr:8686" "Lidarr:8686"
@ -393,8 +394,11 @@ if [ "$setup_vpn" == "y" ]; then
-e "s|vpn_password|$vpn_password|g" "$env_file" \ -e "s|vpn_password|$vpn_password|g" "$env_file" \
-e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \ -e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \
-e "s|ports: # qbittorrent|#ports: # qbittorrent|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|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename"
-e "s|#- 8081:8081/tcp # gluetun|- 8081:8081/tcp # gluetun|g" "$filename"
fi fi
#+end_src #+end_src

View File

@ -52,7 +52,8 @@ running_services_location() {
host_ip=$(hostname -I | awk '{ print $1 }') host_ip=$(hostname -I | awk '{ print $1 }')
services=( services=(
"qBittorrent:8080" "qBittorrent:8081"
"SABnzbd:8080"
"Radarr:7878" "Radarr:7878"
"Sonarr:8989" "Sonarr:8989"
"Lidarr:8686" "Lidarr:8686"
@ -236,8 +237,11 @@ if [ "$setup_vpn" == "y" ]; then
-e "s|vpn_password|$vpn_password|g" "$env_file" \ -e "s|vpn_password|$vpn_password|g" "$env_file" \
-e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \ -e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \
-e "s|ports: # qbittorrent|#ports: # qbittorrent|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|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename"
-e "s|#- 8081:8081/tcp # gluetun|- 8081:8081/tcp # gluetun|g" "$filename"
fi fi
sed -i -e "s|<filename>|$filename|g" yams \ sed -i -e "s|<filename>|$filename|g" yams \