Guest User

gluetun to torrent docker compose

a guest
Feb 3rd, 2025
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.53 KB | Software | 0 0
  1. networks:
  2.   caddynet:
  3.     name: caddynet
  4.     external: true
  5.  
  6. services:
  7.   gluetun:
  8.     image: qmcgaw/gluetun:latest
  9.     container_name: gluetun
  10.     restart: always
  11.     cap_add:
  12.      - NET_ADMIN
  13.     environment:
  14.      - VPN_SERVICE_PROVIDER=protonvpn
  15.       - VPN_TYPE=wireguard
  16.       - WIREGUARD_PRIVATE_KEY=
  17.       - WIREGUARD_ADDRESSES=
  18.       - SERVER_COUNTRIES=United States
  19.       - SERVER_CITIES=
  20.       - PORT_FORWARD_ONLY=on
  21.       - VPN_PORT_FORWARDING=on
  22.     devices:
  23.      - /dev/net/tun:/dev/net/tun
  24.     ports:
  25.      - 16000:8080
  26.       - 6881:6881
  27.       - 6881:6881/udp
  28.       - 16001:16001
  29.       - 16002:8112
  30.     networks:
  31.      - caddynet
  32.  
  33.   qbittorrent:
  34.     image: lscr.io/linuxserver/qbittorrent:latest
  35.     container_name: qbittorrent
  36.     restart: unless-stopped
  37.     network_mode: "service:gluetun"
  38.     environment:
  39.      - PUID=1000
  40.       - PGID=1000
  41.       - TZ=
  42.       - WEBUI_PORT=16001
  43.       - TORRENTING_PORT=6881
  44.     volumes:
  45.      - /path/to/qbit/config:/config
  46.       - /path/to/qbit/downloads:/downloads
  47.     depends_on:
  48.       gluetun:
  49.         condition: service_healthy
  50.  
  51.   deluge:
  52.     image: lscr.io/linuxserver/deluge:latest
  53.     container_name: deluge
  54.     restart: unless-stopped
  55.     network_mode: "service:gluetun"
  56.     environment:
  57.      - PUID=1000
  58.       - PGID=1000
  59.       - TZ=
  60.       - DELUGE_LOGLEVEL=error #optional
  61.     volumes:
  62.      - /path/to/deluge/config:/config
  63.       - /path/to/deluge/downloads:/downloads
  64.     depends_on:
  65.       gluetun:
  66.         condition: service_healthy
Add Comment
Please, Sign In to add comment