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