From 7f4e1191e777ef237406931de4d5b39f79ba3225 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 12 Oct 2024 12:11:54 -0300 Subject: [PATCH] Adding VPN config to SABnzbd --- docker-compose.example.yaml | 6 +++--- docs.org | 3 ++- install.sh | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml index 3df2e73..b2bfb94 100644 --- a/docker-compose.example.yaml +++ b/docker-compose.example.yaml @@ -33,7 +33,7 @@ services: - 8081:8081 # qbittorrent #network_mode: "service:gluetun" - # sabnzbd is used to download from usenet + # SABnzbd is used to download from usenet sabnzbd: image: lscr.io/linuxserver/sabnzbd:latest container_name: sabnzbd @@ -45,8 +45,8 @@ services: - /etc/localtime:/etc/localtime:ro - ${MEDIA_DIRECTORY}:/data - ${INSTALL_DIRECTORY}/config/sabnzbd:/config - ports: - - 8080:8080 + ports: # sabnzbd + - 8080:8080 # sabnzbd restart: unless-stopped #network_mode: "service:gluetun" diff --git a/docs.org b/docs.org index 5664b00..1f63a5b 100644 --- a/docs.org +++ b/docs.org @@ -406,7 +406,8 @@ 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|- 8080:8080 # sabnzbd|#- 8080:8080 # sabnzbd|g" "$filename" \ -e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename" fi #+end_src diff --git a/install.sh b/install.sh index 7822058..a0bef86 100644 --- a/install.sh +++ b/install.sh @@ -249,7 +249,8 @@ 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|- 8080:8080 # sabnzbd|#- 8080:8080 # sabnzbd|g" "$filename" \ -e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename" fi