From 9e522249064933be29a421ffcdb2cf9739675e0d Mon Sep 17 00:00:00 2001 From: skobkin Date: Mon, 30 Dec 2024 01:09:12 +0000 Subject: [PATCH 1/2] qBittorrent. Stack update. Allowing changing network mode. Removing unnecessary 'version' parameter. --- qbittorrent/docker-compose.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qbittorrent/docker-compose.yml b/qbittorrent/docker-compose.yml index 781dc24..f4a6e4f 100644 --- a/qbittorrent/docker-compose.yml +++ b/qbittorrent/docker-compose.yml @@ -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" From 1d242cd79312fe19b350b5f67cda77e62ecfa538 Mon Sep 17 00:00:00 2001 From: skobkin Date: Mon, 30 Dec 2024 01:11:04 +0000 Subject: [PATCH 2/2] Update qbittorrent/.env.dist --- qbittorrent/.env.dist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qbittorrent/.env.dist b/qbittorrent/.env.dist index 78160fc..519455b 100644 --- a/qbittorrent/.env.dist +++ b/qbittorrent/.env.dist @@ -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