switch default incoming to 6881

pull/7/head
binhex 6 years ago
parent 46eb7b1161
commit 7029c2fe2e

@ -35,15 +35,15 @@ VOLUME /config
# map /data to host defined data path (used to store data from app) # map /data to host defined data path (used to store data from app)
VOLUME /data VOLUME /data
# expose port for incoming connections (used only if vpn disabled)
EXPOSE 6881
# expose port for qbittorrent http # expose port for qbittorrent http
EXPOSE 8080 EXPOSE 8080
# expose port for privoxy # expose port for privoxy
EXPOSE 8118 EXPOSE 8118
# expose port for incoming connections (used only if vpn disabled)
EXPOSE 49160
# set permissions # set permissions
################# #################

@ -18,6 +18,8 @@ Latest stable Privoxy release from Arch Linux repo.
``` ```
docker run -d \ docker run -d \
--cap-add=NET_ADMIN \ --cap-add=NET_ADMIN \
-p 6881:6881 \
-p 6881:6881/udp \
-p 8080:8080 \ -p 8080:8080 \
-p 8118:8118 \ -p 8118:8118 \
--name=<container name> \ --name=<container name> \
@ -58,6 +60,8 @@ Password:- adminadmin
``` ```
docker run -d \ docker run -d \
--cap-add=NET_ADMIN \ --cap-add=NET_ADMIN \
-p 6881:6881 \
-p 6881:6881/udp \
-p 8080:8080 \ -p 8080:8080 \
-p 8118:8118 \ -p 8118:8118 \
--name=qbittorrentvpn \ --name=qbittorrentvpn \
@ -103,6 +107,8 @@ port_random = no
``` ```
docker run -d \ docker run -d \
--cap-add=NET_ADMIN \ --cap-add=NET_ADMIN \
-p 6881:6881 \
-p 6881:6881/udp \
-p 8080:8080 \ -p 8080:8080 \
-p 8118:8118 \ -p 8118:8118 \
--name=qbittorrentvpn \ --name=qbittorrentvpn \

@ -24,7 +24,7 @@ rm -f /config/qBittorrent/data/BT_backup/session.lock
dos2unix "${qbittorrent_config}" dos2unix "${qbittorrent_config}"
# set default values for port and ip # set default values for port and ip
qbittorrent_port="49160" qbittorrent_port="6881"
qbittorrent_ip="0.0.0.0" qbittorrent_ip="0.0.0.0"
# while loop to check ip and port # while loop to check ip and port

Loading…
Cancel
Save