Import
This commit is contained in:
64
Torrenting/docker-compose.yaml
Normal file
64
Torrenting/docker-compose.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
version: "3.6"
|
||||
|
||||
# Volumes
|
||||
volumes:
|
||||
|
||||
#QBittorrent
|
||||
qbittorrent-Config:
|
||||
external: false
|
||||
driver: local-persist
|
||||
driver_opts:
|
||||
mountpoint: /root/Docker/Torrenting/Config
|
||||
|
||||
|
||||
|
||||
#Torrenting Share
|
||||
Torrenting-Share:
|
||||
external: true
|
||||
|
||||
services:
|
||||
#VPN
|
||||
NordVPN:
|
||||
image: ghcr.io/bubuntux/nordlynx:latest
|
||||
hostname: NordVPN
|
||||
container_name: NordVPN
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:8080"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
environment:
|
||||
- PRIVATE_KEY=123456789
|
||||
- DNS=1.1.1.1,1.0.0.1
|
||||
- NET_LOCAL=192.168.0.0/16
|
||||
- QUERY=filters\[country_id\]=209
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4'
|
||||
|
||||
#Torrent Client
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
container_name: qbittorrent
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- TZ=Europe/Amsterdam
|
||||
- WEBUI_PORT=8080
|
||||
volumes:
|
||||
- qbittorrent-Config:/config
|
||||
- Torrenting-Share:/NAS
|
||||
network_mode: "container:NordVPN"
|
||||
depends_on:
|
||||
NordVPN:
|
||||
condition: service_healthy
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4'
|
||||
memory: 4G
|
||||
|
||||
|
||||
Reference in New Issue
Block a user