Skip to content

Update media services and optimize configurations#82

Merged
ExtraToast merged 10 commits intomainfrom
repair-node-setup
Apr 12, 2026
Merged

Update media services and optimize configurations#82
ExtraToast merged 10 commits intomainfrom
repair-node-setup

Conversation

@ExtraToast
Copy link
Copy Markdown
Owner

### Summary

This pull request makes extensive updates to media services setup, deployment scripts, and resource configurations. Significant changes include:

- **Jellyfin Updates:** Upgraded Jellyfin to version 10.11.8, added NVIDIA runtime, updated resource limits, adjusted boot sequence dependencies, and removed `forward-auth` middleware from its router configuration.
- **Sonarr Updates:** Increased memory allocation to 1024 MB.
- **System Resource Improvements:** Adjusted CPU and memory limits for multiple services.
- **Security Enhancements:** Introduced `media-security-headers` middleware across media services and updated CORS origins to handle patterns.
- **Traefik & Nomad Updates:** Centralized routing rules, streamlined configurations, and added dynamic advertise address handling via a new script (`nomad-advertise.sh`).
- **Deployment Changes:** Added media services like Sonarr, Radarr, Prowlarr, and qBittorrent to deployment scripts with readiness checks. Enhanced Gluetun firewall settings and switched from WireGuard to OpenVPN.

### Checklist

- [ ] I have tested these changes locally.
- [ ] I have reviewed the impact of these changes on existing functionality.
- [ ] I have updated documentation as necessary.

### Additional Notes

These updates aim to improve system performance, security, and maintainability while ensuring seamless integration of media services.

…d Nomad setup

- Change health check path for Headscale from `/health` to `/key`.
- Improve environment variable sourcing for Vault and Tailscale setup.
- Add conditional handling for Gluetun WireGuard private key in template.
- Remove redundant descriptions in Nomad ACL configurations for better clarity.
- Introduce media services (Sonarr, Radarr, Jellyfin, Prowlarr, qBittorrent, AdGuard) in Traefik routers and load balancers.
- Update Nomad configuration for advertise addresses and adjust systemd ordering to include Tailscale.
- Modify Gluetun environment file to switch from WireGuard to OpenVPN.
- Expand deployment script phases to include media services for setup and readiness checks.
- Update AdGuardHome to bind to all interfaces.
- Add dynamic advertise address handling for Nomad using a new `nomad-advertise.sh` script.
- Expand AUTH_CORS_ALLOWED_ORIGINS with additional media service domains.
- Refactor Traefik configuration to centralize and streamline media service rules.
- Adjust systemd dependencies and introduce `ExecStartPre` for Nomad to ensure proper IP resolution.
- General cleanup: remove redundant service port mappings and obsolete configurations.
- Switch FlareSolverr image and increase memory allocation.
- Add NVIDIA runtime and device configurations for Jellyfin.
- Introduce `media-security-headers` middleware across media services.
- Update firewall and input port settings in Gluetun.
- Refactor allowed CORS origins to use patterns in Auth API.
…s media services

- Increase Jellyfin's deployment deadlines and make `media_data` volume writable.
- Update download service resource allocation (`cpu` and `memory`).
- Refactor systemd boot order: AdGuard → Tailscale → Consul → Nomad.
- Disable `systemd-resolved` for AdGuard Home.
- Add `ExecStartPre` to stop `systemd-resolved` before starting AdGuard Home.
@ExtraToast ExtraToast self-assigned this Apr 12, 2026
@ExtraToast ExtraToast added the enhancement New feature or request label Apr 12, 2026
- Introduced a `retryOnConnectionFailure` function to handle transient connection issues during API calls.
- Added `navigateWithRetry` to handle Playwright navigation failures.
- Updated key system test operations (registration, login, session-login) with retry mechanisms.
- Increased Playwright test heap size to 512MB in build configuration.
@ExtraToast ExtraToast merged commit 7e8fe38 into main Apr 12, 2026
25 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