Compare commits

..

7 Commits
22 ... 31

Author SHA1 Message Date
j0nnymoe
35b6e2315e Merge pull request #10 from linuxserver/bump_3.3.16
Bump 3.3.16
2017-09-16 13:25:39 +01:00
sparklyballs
1c4d1c4d6a improve blurb again on WEBUI_PORT variable 2017-09-16 08:24:32 +01:00
sparklyballs
ed55418fc2 spacing 2017-09-16 08:21:00 +01:00
sparklyballs
f8219eae32 Update README.md 2017-09-16 08:19:25 +01:00
sparklyballs
917f7421e9 Update README.md 2017-09-16 08:18:05 +01:00
sparklyballs
55f0728496 refine WEBUI_PORT blurb 2017-09-16 08:17:14 +01:00
sparklyballs
fef8110e7c bump version and add WEBUI_PORT variable to allow changing of the webui port 2017-09-16 08:07:40 +01:00
3 changed files with 15 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# package versions
ARG QBITTORRENT_VER="3.3.14"
ARG QBITTORRENT_VER="3.3.16"
ARG RASTERBAR_VER="RC_1_0"
# environment settings

View File

@@ -29,6 +29,7 @@ docker create \
-v <path to downloads>:/downloads \
-e PGID=<gid> -e PUID=<uid> \
-e UMASK_SET=<022> \
-e WEBUI_PORT=<8080> \
-e TZ=<timezone> \
-p 6881:6881 \
-p 6881:6881/udp \
@@ -46,16 +47,25 @@ http://192.168.x.x:8080 would show you what's running INSIDE the container on po
* `-p 6881` - the port(s)
* `-p 6881/udp` - the port(s)
* `-p 8080` - the port(s)
* `-p 8080` - webui port
* `-v /config` - where qbittorrent should store its config files
* `-v /downloads` - path to downloads
* `-e PGID` for GroupID - see below for explanation
* `-e PUID` for UserID - see below for explanation
* `-e UMASK_SET` for umask setting of qbittorrent, *optional* , default if left unset is 022.
* `-e WEBUI_PORT` for changing the port of the webui, see below for explanation
* `-e TZ` for timezone information, eg Europe/London
It is based on alpine linux with s6 overlay, for shell access whilst the container is running do `docker exec -it qbittorrent /bin/bash`.
## WEBUI_PORT variable
Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the `-p 8080` switch **AND** set the `WEBUI_PORT` variable to the new port.
For example, to set the port to 8090 you need to set `-p 8090:8090` and `-e WEBUI_PORT=8090`
This should alleviate the "white screen" issue.
### User / Group Identifiers
Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.
@@ -90,4 +100,5 @@ To monitor the logs of the container in realtime: `docker logs -f qbittorrent`
## Versions
+ **16.09.17:** Bump to 3.3.16, Add WEBUI_PORT variable and notes to README to allow changing port of webui.
+ **01.08.17:** Initial Release.

View File

@@ -1,8 +1,9 @@
#!/usr/bin/with-contenv bash
UMASK_SET=${UMASK_SET:-022}
WEBUI_PORT=${WEBUI_PORT:-8080}
umask "$UMASK_SET"
exec \
s6-setuidgid abc /usr/bin/qbittorrent-nox
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"