Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
This commit is contained in:
2025-02-07 13:09:16 +01:00
parent c4685066f8
commit e9e3bcd53f
18 changed files with 158 additions and 90 deletions

View File

@@ -1,7 +1,7 @@
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: gluetun
privileged: true
cap_add:
- NET_ADMIN
networks:
@@ -10,6 +10,8 @@ services:
- 6881:6881
- 6881:6881/udp
- 8085:8085
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- /mnt/services/torrent/data/gluetun:/gluetun
environment:
@@ -23,7 +25,6 @@ services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent
container_name: qbittorrent
network_mode: "service:gluetun"
environment:
- PUID=1000
@@ -34,10 +35,11 @@ services:
- /mnt/services/torrent/data/qbit-config:/config
- /mnt:/storage
depends_on:
- gluetun
gluetun:
condition: service_healthy
restart: always
networks:
shared_network:
external: true
name: shared_network
name: shared_network