65 lines
1.2 KiB
YAML
65 lines
1.2 KiB
YAML
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
|
|
|
|
|