AI given structure

This commit is contained in:
1jamesthompson1
2026-03-23 16:06:42 +13:00
commit 716baafbc1
35 changed files with 1570 additions and 0 deletions

8
qbittorrent/.env.example Normal file
View File

@@ -0,0 +1,8 @@
# qbittorrent/.env
# Copy to .env and fill in real values. NEVER commit .env.
# WireGuard private key from ProtonVPN
WIREGUARD_PRIVATE_KEY=REPLACE_WITH_YOUR_WIREGUARD_PRIVATE_KEY
QBITTORRENT_PORT=8080
JACKETT_PORT=9117

View File

@@ -0,0 +1,61 @@
services:
gluetun:
image: qmcgaw/gluetun
container_name: qbittorrent_gluetun
restart: unless-stopped
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- ${STORAGE_PATH}/qbittorrent/gluetun:/gluetun
- ${STORAGE_PATH}/qbittorrent/wireguard:/gluetun/wireguard
ports:
- "${QBITTORRENT_PORT:-8080}:8080"
- "${JACKETT_PORT:-9117}:9117"
networks:
- qbittorrent
env_file:
- ../.env
- .env
environment:
- VPN_SERVICE_PROVIDER=protonvpn
- VPN_TYPE=wireguard
- VPN_PORT_FORWARDING=on
- TZ=${TZ}
- SERVER_COUNTRIES=New Zealand
- PORT_FORWARD_ONLY=on
- VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- --post-data "json={\"listen_port\":{{PORTS}}}" http://localhost:8080/api/v2/app/setPreferences 2>/dev/null || true'
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
restart: unless-stopped
network_mode: "service:gluetun"
depends_on:
- gluetun
environment:
- TZ=${TZ}
- WEBUI_PORT=8080
- PUID=${USER_UID}
- PGID=${USER_GID}
volumes:
- ${STORAGE_PATH}/qbittorrent/config:/config
- ${MEDIA_PATH}/torrents:/downloads
jackett:
image: linuxserver/jackett:latest
container_name: jackett
restart: unless-stopped
network_mode: "service:gluetun"
depends_on:
- gluetun
environment:
- TZ=${TZ}
- PUID=${USER_UID}
- PGID=${USER_GID}
volumes:
- ${STORAGE_PATH}/qbittorrent/config/jackett:/config
networks:
qbittorrent: