Adding VPN config to SABnzbd
This commit is contained in:
parent
561e18ebf9
commit
7f4e1191e7
@ -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"
|
||||
|
||||
|
3
docs.org
3
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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user