Revamped install for Piped

https://lemmy.world/post/2066634

Revamped install for Piped - Lemmy.world

Due to difficulties I had installing Piped, an alternative frontend for Youtube, I decided to improve and document the process in a better way. In the end, I pretty much redid the whole thing, leaving almost no stone un-turned. You can test my installer from my repo and post any comments and doubts here.

What is piped?
Privacy conscious Interface for Youtube, with a much cleaner and faster interface. You can try a public instance from this list: github.com/TeamPiped/Piped/wiki/Instances
Instances

An alternative privacy-friendly YouTube frontend which is efficient by design. - TeamPiped/Piped

GitHub
How would this work with a pre-existing reverse proxy?
I tried running both invidious and piped in docker behind an existing nginx. Invidious was so easy, 1 and done. After battling piped I got the front end working but it wouldn’t talk to my back end, as soon as I pointed it at a public backend the option to point to mine disappeared. I think some of my issues with piped is that I don’t want the service accessible externally from the internet, not sure if that interfered in some way. I’ll try this installer and see how it goes.

You can run with your own reverse proxy Nginx if:

  • You expose the port used by the backend/API with a “ports:” setting on the compose file
  • Expose the socket used by the ytproxy container using a volume that points to a directory in the host

You’ll still need 3 DNS names and a SSL certificate to cover all three.

TO configure your Nginx, you can use the template I provided on the config/ directory as a base.