qBittorrent. Stack update. Allowing changing network mode. Removing unnecessary 'version' parameter. #140

Merged
skobkin merged 2 commits from qbittorrent_stack_update into master 2024-12-30 01:11:26 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"