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
|
# Web interface port
|
||||||
WEBUI_PORT=8090
|
WEBUI_PORT=8090
|
||||||
|
|
||||||
|
#NETWORK_MODE=host
|
||||||
|
|
||||||
# Volume mapping
|
# Volume mapping
|
||||||
CONFIG_PATH=./config
|
CONFIG_PATH=./config
|
||||||
# This will be the same inside and outside of a container
|
# This will be the same inside and outside of a container
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
version: '3.7'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
# https://hub.docker.com/r/linuxserver/qbittorrent
|
# https://hub.docker.com/r/linuxserver/qbittorrent
|
||||||
image: linuxserver/qbittorrent:latest
|
image: linuxserver/qbittorrent:latest
|
||||||
container_name: qbittorrent
|
container_name: qbittorrent
|
||||||
#network_mode: "host"
|
network_mode: '${NETWORK_MODE:-host}'
|
||||||
ports:
|
ports:
|
||||||
- "${WEBUI_PORT}:${WEBUI_PORT}/tcp"
|
- "${WEBUI_PORT}:${WEBUI_PORT}/tcp"
|
||||||
- "6881:6881/tcp"
|
- "6881:6881/tcp"
|
||||||
|
|
Loading…
Reference in a new issue