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