first commit
This commit is contained in:
43
torrent/docker-compose.yml
Normal file
43
torrent/docker-compose.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
services:
|
||||
gluetun:
|
||||
image: qmcgaw/gluetun:latest
|
||||
container_name: gluetun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
networks:
|
||||
- shared_network
|
||||
ports:
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
- 8085:8085
|
||||
volumes:
|
||||
- /mnt/services/torrent/data/gluetun:/gluetun
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
|
||||
- OPENVPN_USER=${OPENVPN_USER}
|
||||
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
||||
restart: always
|
||||
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent
|
||||
container_name: qbittorrent
|
||||
network_mode: "service:gluetun"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- WEBUI_PORT=8085
|
||||
volumes:
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- /mnt/services/torrent/data/qbit-config:/config
|
||||
- /mnt:/storage
|
||||
depends_on:
|
||||
- gluetun
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
shared_network:
|
||||
external: true
|
||||
name: shared_network
|
Reference in New Issue
Block a user