Guest User

Untitled

a guest
Mar 14th, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. qbittorrent:
  2. image: lscr.io/linuxserver/qbittorrent:latest
  3. container_name: qbittorrent
  4. network_mode: "service:gluetun"
  5. environment:
  6. - PUID=1000
  7. - PGID=1000
  8. - WEBUI_PORT=8080
  9. volumes:
  10. - /arr/qbittorrent/config:/config
  11. - /mnt/hdd01/media/downloads:/media/downloads
  12. depends_on:
  13. gluetun:
  14. condition: service_healthy
  15. restart: always
  16.  
  17. gluetun:
  18. image: qmcgaw/gluetun
  19. container_name: gluetun
  20. hostname: gluetun
  21. ports:
  22. - 9696:9696 #prowlarr
  23. - 8989:8989 #sonarr
  24. - 7878:7878 #radarr
  25. - 8080:8080 #qbittorrent
  26. cap_add:
  27. - NET_ADMIN
  28. devices:
  29. - /dev/net/tun:/dev/net/tun
  30. environment:
  31. - VPN_SERVICE_PROVIDER=protonvpn
  32. - VPN_TYPE=wireguard
  33. - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
  34. - VPN_PORT_FORWARDING=on
  35. - VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- --retry-connrefused --post-data "json={\"listen_port\":{{PORTS}}}" http://127.0.0.1:8080/api/v2/app/setPreferences 2>&1'
  36. restart: always
Add Comment
Please, Sign In to add comment