Skip to content

Enhance media disk support and add WireGuard validation jobs#87

Merged
ExtraToast merged 7 commits intomainfrom
bugfix-qbittorrent
Apr 15, 2026
Merged

Enhance media disk support and add WireGuard validation jobs#87
ExtraToast merged 7 commits intomainfrom
bugfix-qbittorrent

Conversation

@ExtraToast
Copy link
Copy Markdown
Owner

This pull request introduces a new WireGuard VPN health check job to the Nomad cluster, updates resource allocations for the downloads job, and changes the default filesystem for the media disk to ntfs3. The main focus is on improving VPN reliability and increasing the performance of media-related jobs.

New WireGuard VPN Health Check:

  • Added a new Nomad job wireguard-check that runs a Gluetun container (for WireGuard VPN) and a sidecar curl task to periodically check public IP connectivity. This job is configured for secure secret injection and proper resource allocation. (infra/nomad/jobs/media/wireguard-check.nomad.hcl)
  • Introduced a new template for Gluetun WireGuard environment variables, sourcing secrets from Vault for secure configuration. (infra/nomad/templates/gluetun-wireguard.env.tpl)

Resource Allocation Improvements:

  • Increased CPU and memory allocations for the downloads Nomad job to improve performance for both main and auxiliary tasks. (infra/nomad/jobs/media/downloads.nomad.hcl) [1] [2]

Filesystem Configuration:

  • Changed the default media disk filesystem from ext4 to ntfs3 in both the setup script and documentation, ensuring consistency and potentially better compatibility. (infra/home-node/README.md, infra/home-node/setup.sh) [1] [2]

- Set `MEDIA_DISK_FS` default to `ntfs3` in setup.sh and README.
- Add default mount options for NTFS and validation for /mnt/media mount.
- Ensure media directories are created with correct permissions.
Create a standalone wireguard-check job with a Gluetun sidecar and a curl-based probe task for validating PIA custom WireGuard settings without changing the existing OpenVPN downloads stack.
@ExtraToast ExtraToast self-assigned this Apr 15, 2026
@ExtraToast ExtraToast added the enhancement New feature or request label Apr 15, 2026
@ExtraToast ExtraToast merged commit 0cf1aa1 into main Apr 15, 2026
56 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant