I self-host Piped and Invidious in containers with networking plumbed to glueton[1] on a VPN.
This way all traffic going to youtube from piped/invidious comes from the VPN, and can easily switch regions/providers if there’s service degradation. Also mixes traffic with other VPN users to lower fingerprinting.
This patterns works well with almost any self-hosted service.
Single hand-crafted artisan organic GMO-free compose file for services that egress through regional VPNs and are exposed internally through Tailscale; *arr, transmisson, piped, etc.
Plex, iSponsorBlock, ArchiveBox have their own compose files since I keep them close to upstream. This way when the inevitable breaks they’re easier to troubleshoot.