mirror of
https://github.com/qbittorrent/docker-qbittorrent-nox.git
synced 2024-11-27 03:10:32 +00:00
Add default value for WebUI port
This commit is contained in:
parent
b193ef5c8f
commit
799fed1dcc
@ -54,6 +54,7 @@ https://github.com/qbittorrent/qBittorrent/issues
|
||||
If you are up to test the bleeding-edge version, you can put `alpha` to get the weekly build.
|
||||
* `QBT_WEBUI_PORT` \
|
||||
This environment variable sets the port number which qBittorrent WebUI will be binded to.
|
||||
Defaults to port `8080` if value is not set.
|
||||
|
||||
#### Volumes
|
||||
|
||||
|
@ -44,6 +44,10 @@ else
|
||||
sed -i '/^\[LegalNotice\]$/{$!{N;s|\(\[LegalNotice\]\nAccepted=\).*|\1false|}}' "$qbtConfigFile"
|
||||
fi
|
||||
|
||||
if [ -z "$QBT_WEBUI_PORT" ]; then
|
||||
QBT_WEBUI_PORT=8080
|
||||
fi
|
||||
|
||||
# those are owned by root by default
|
||||
# don't change existing files owner in `$downloadsPath`
|
||||
chown qbtUser:qbtUser "$downloadsPath"
|
||||
|
@ -44,6 +44,7 @@ It is also recommended to install Docker Compose as it can significantly ease th
|
||||
Or you can put `devel` to build the latest development version.
|
||||
* `QBT_WEBUI_PORT` \
|
||||
This environment variable sets the port number which qBittorrent WebUI will be binded to.
|
||||
Defaults to port `8080` if value is not set.
|
||||
|
||||
#### Volumes
|
||||
|
||||
|
@ -44,6 +44,10 @@ else
|
||||
sed -i '/^\[LegalNotice\]$/{$!{N;s|\(\[LegalNotice\]\nAccepted=\).*|\1false|}}' "$qbtConfigFile"
|
||||
fi
|
||||
|
||||
if [ -z "$QBT_WEBUI_PORT" ]; then
|
||||
QBT_WEBUI_PORT=8080
|
||||
fi
|
||||
|
||||
# those are owned by root by default
|
||||
# don't change existing files owner in `$downloadsPath`
|
||||
chown qbtUser:qbtUser "$downloadsPath"
|
||||
|
Loading…
Reference in New Issue
Block a user