commit 915828718391b1923a65790da9735604b1d5a053 Author: stephane.david Date: Sun Feb 9 12:40:11 2025 +0100 First version diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0d98b03 --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file