Merge pull request 'qBittorrent. Stack update. Allowing changing network mode. Removing unnecessary 'version' parameter.' (#140) from qbittorrent_stack_update into master
Reviewed-on: #140
This commit is contained in:
commit
6a41c35da9
|
@ -7,6 +7,8 @@ TZ=Europe/Moscow
|
|||
# Web interface port
|
||||
WEBUI_PORT=8090
|
||||
|
||||
#NETWORK_MODE=host
|
||||
|
||||
# Volume mapping
|
||||
CONFIG_PATH=./config
|
||||
# This will be the same inside and outside of a container
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
qbittorrent:
|
||||
# https://hub.docker.com/r/linuxserver/qbittorrent
|
||||
image: linuxserver/qbittorrent:latest
|
||||
container_name: qbittorrent
|
||||
#network_mode: "host"
|
||||
network_mode: '${NETWORK_MODE:-host}'
|
||||
ports:
|
||||
- "${WEBUI_PORT}:${WEBUI_PORT}/tcp"
|
||||
- "6881:6881/tcp"
|
||||
|
|
Loading…
Reference in a new issue