update qbitorrent for gluetun setup

This commit is contained in:
2026-04-27 23:54:33 +00:00
parent e0540c42a2
commit 68672ceeab

View File

@@ -8,35 +8,25 @@ services:
qbittorrentvpn: qbittorrentvpn:
container_name: torrent container_name: torrent
privileged: true privileged: true
image: dyonr/qbittorrentvpn image: lscr.io/linuxserver/qbittorrent:latest
environment: environment:
- VPN_ENABLED=true - PUID=1000
- VPN_USERNAME=${VPN_USERNAME} - PGID=1000
- VPN_PASSWORD=${VPN_PASSWORD} - VPN_ENABLED=false
- LAN_NETWORK=10.0.0.0/24 - WEBUI_PORT=8080
- WEBUI_PORT_ENV=8080
- INCOMING_PORT_ENV=8999
- TZ=America/New_York - TZ=America/New_York
ports:
- 8181:8080
- 8999:8999
- 8999:8999/udp
volumes: volumes:
- ${QBITTORRENT_DATA}/config:/config - ${QBITTORRENT_DATA}/config:/config
- ${QBITTORRENT_DATA}/theme:/theme - ${QBITTORRENT_DATA}/theme:/theme
- downloads_nfs:/downloads - downloads_nfs:/downloads
restart: unless-stopped restart: unless-stopped
networks: network_mode: "container:gluetun"
- frontend
networks:
frontend:
external: true # Or define it if it's not external
volumes: volumes:
downloads_nfs: downloads_nfs:
name: downloads_nfs name: downloads_nfs
driver_opts: driver_opts:
type: nfs type: nfs
o: addr=truenas,nolock,soft,rw o: addr=${NAS_ADDR},nolock,soft,rw
device: :/mnt/store/vault/MediaServer/downloads device: :${DOWNLOADS_PATH}