@@ -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
|
||||
|
Reference in New Issue
Block a user