Update qbittorrent service configuration in Docker: switch to host network mode for improved DHT functionality, adjust WEBUI_PORT to 8090, and remove port mappings to prevent conflicts with app services.
This commit is contained in:
+5
-5
@@ -37,18 +37,18 @@ services:
|
|||||||
# PUID/PGID=0 — файлы root-владельца, как и у app, чтобы импорт мог их прочитать.
|
# PUID/PGID=0 — файлы root-владельца, как и у app, чтобы импорт мог их прочитать.
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
image: lscr.io/linuxserver/qbittorrent:latest
|
image: lscr.io/linuxserver/qbittorrent:latest
|
||||||
|
# host-сеть: bridge Docker ломает DHT/UDP торрент-клиента (NAT исходящего UDP + DNAT входящего
|
||||||
|
# на том же порту рвут обратные DHT-пакеты → «Узлы DHT: 0»). В host-режиме клиент слушает
|
||||||
|
# порты 8090 (WebUI) и 6881 (torrent) прямо на хосте — порты не конфликтуют с app (8085).
|
||||||
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
PUID: '0'
|
PUID: '0'
|
||||||
PGID: '0'
|
PGID: '0'
|
||||||
TZ: Etc/UTC
|
TZ: Etc/UTC
|
||||||
WEBUI_PORT: '8080'
|
WEBUI_PORT: '8090' # WebUI (пароль первого входа — в логах: docker compose logs qbittorrent)
|
||||||
volumes:
|
volumes:
|
||||||
- qbittorrent-config:/config
|
- qbittorrent-config:/config
|
||||||
- /srv/telewave/media/downloads:/downloads
|
- /srv/telewave/media/downloads:/downloads
|
||||||
ports:
|
|
||||||
- '8090:8080' # WebUI (пароль первого входа — в логах: docker compose logs qbittorrent)
|
|
||||||
- '6881:6881'
|
|
||||||
- '6881:6881/udp'
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
|
|||||||
Reference in New Issue
Block a user