First version
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
vpn:
|
||||
image: ghcr.io/bubuntux/nordvpn
|
||||
hostname : nordvpn
|
||||
container_name : nordvpn
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
- SYS_MODULE
|
||||
ports:
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
- 9865:9865
|
||||
environment:
|
||||
- TOKEN=e9f2ab75cf15245acccf48938176063b7eda427acf5b76d45ccfa8b41da4bcb7
|
||||
- CONNECT=--group P2P Switzerland
|
||||
- TECHNOLOGY=NordLynx
|
||||
- NET_LOCAL=192.168.10.0/24,192.168.1.0/24 # So it can be accessed within the local network
|
||||
- DNS = 8.8.8.8,8.8.4.4
|
||||
- TZ=Europe/Paris
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=1 # Recomended if using ipv4 only
|
||||
qbittorrent:
|
||||
container_name: qBittorrent
|
||||
image: ghcr.io/linuxserver/qbittorrent
|
||||
mem_limit: 6g
|
||||
cpu_shares: 768
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
network_mode: service:vpn
|
||||
depends_on:
|
||||
- vpn
|
||||
tty: true
|
||||
restart: on-failure:5
|
||||
volumes:
|
||||
- /var/lib/docker/volumes/qbittorrent_config/_data:/config:rw
|
||||
- /var/lib/docker/volumes/qbittorrent_downloads/_data:/downloads:rw
|
||||
- /network/Datas:/torrent:rw
|
||||
environment:
|
||||
WEBUI_PORT: 9865
|
||||
TZ: Europe/Paris
|
||||
Reference in New Issue
Block a user