Guest User

Updated Config

a guest
Feb 1st, 2025
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. services:
  2. # VPN Service (Gluetun - Required for other containers)
  3. gluetun:
  4. container_name: gluetun
  5. image: qmcgaw/gluetun
  6. cap_add:
  7. - NET_ADMIN # Grants network admin privileges
  8. devices:
  9. - /dev/net/tun:/dev/net/tun # Required for VPN tunneling
  10. environment:
  11. - VPN_SERVICE_PROVIDER=Mullvad
  12. - VPN_TYPE=wireguard
  13. - WIREGUARD_ENDPOINT_IP=
  14. - WIREGUARD_ENDPOINT_PORT=
  15. - WIREGUARD_PUBLIC_KEY=
  16. - WIREGUARD_PRIVATE_KEY=
  17. - WIREGUARD_PRESHARED_KEY=
  18. - WIREGUARD_ADDRESSES=
  19. ports:
  20. - '8080:8080' # Web UI
  21. - '6881:6881' # Torrent TCP
  22. - '6881:6881/udp' # Torrent UDP
  23. - '8888:8888/tcp'
  24. - '8388:8388/tcp'
  25. - '8388:8388/udp'
  26. - '8989:8989' # Sonarr Web UI
  27. volumes:
  28. - /mnt/Test/Public/Apps/Gluetun:/config # Gluetun config storage
  29. - /mnt/Test/Public/Apps/Gluetun/Logs:/logs # Log storage
  30. restart: unless-stopped
  31.  
  32. # qBittorrent Service (Uses Gluetun VPN)
  33. qbittorrent:
  34. container_name: qbittorrent
  35. image: ghcr.io/hotio/qbittorrent
  36. environment:
  37. - PUID=568 # User ID for permissions
  38. - PGID=568 # Group ID for permissions
  39. - UMASK=002 # File permission mask
  40. - TZ=Europe/Berlin # Set timezone
  41. network_mode: service:gluetun # Uses VPN network
  42. volumes:
  43. - /mnt/Test/Public/Apps/Qbittorrent:/config # qBittorrent config storage
  44. - /mnt/Test/Public/Anime:/media # Download directory
  45. restart: unless-stopped
  46.  
  47. # Sonarr Service (Uses Gluetun VPN)
  48. sonarr:
  49. container_name: sonarr
  50. image: ghcr.io/hotio/sonarr
  51. environment:
  52. - PUID=568
  53. - PGID=568
  54. - UMASK=002
  55. - TZ=Europe/Berlin
  56. network_mode: service:gluetun # Uses VPN network
  57. volumes:
  58. - /mnt/Test/Public/Apps/Sonarr:/config # Sonarr config storage
  59. - /mnt/Test/Public/Anime:/data # Media storage
  60. restart: unless-stopped
  61.  
Add Comment
Please, Sign In to add comment