Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-host without docker #398

Closed
Jerroder opened this issue Aug 30, 2021 · 4 comments
Closed

Self-host without docker #398

Jerroder opened this issue Aug 30, 2021 · 4 comments

Comments

@Jerroder
Copy link

Hi,

Would it be possible to self-host Piped without using docker? I have VMs for every service I have and I don't want to run docker directly on Proxmox (and running docker inside a VM seems stupid). I have no idea about what packages to install or what to configure, I've never really worked with Docker and I'm not sure I understand what's in the docker-compose files (is doesn't seem to install anything).

Do you have simple instructions on how to? I believe the docker is already using Debian so it shouldn't be complicated to run on a "real" Debian.

Thanks!

@FireMasterK
Copy link
Member

No, sorry but without docker you'll have a really bad time maintaining an up-to-date instance.

With docker, you deploy once and it's automatically kept upto date.

@Brawl345
Copy link

Brawl345 commented Aug 1, 2022

I'm replying to this since it's the first search result on Google and the above comment is nonsense.

It's just a Vite project, so install yarn, run yarn install --prefer-offline followed by yarn build and you can find the full site in the dist folder. You can also take a look at the Dockerfile on how it's build: https://github.com/TeamPiped/Piped/blob/master/Dockerfile#L10 (also it replaces google's font URL with the dev's one, which is not good for privacy... dunno why they are not embedded into the SPA).

Remember you need to regularly rebuild on updates.

@FireMasterK
Copy link
Member

I'm replying to this since it's the first search result on Google and the above comment is nonsense.

All I'm trying to do is save you the trouble of spending hours of your life managing an instance. The docker setup is meant to be configured once, and can forget about it. If you still think it's nonsense, go ahead, I have no intentions of stopping you.

It's just a Vite project

It's not 'just', you're missing the proxy, the backend, and the database (whether its postgres, cockroachdb, yugabytedb, etc) for it. All of which would need to be configured manually, which would be a pita for anyone. (even for me, as the creator of Piped)

it replaces google's font URL with the dev's one, which is not good for privacy...

Because clearly connecting to Google's servers for it would be a worse idea. It's just a simple non-logging proxy for Google fonts.

dunno why they are not embedded into the SPA

There's an existing issue: #658, contributions are welcomed rather than complaining

@Brawl345
Copy link

Brawl345 commented Aug 1, 2022

All I'm trying to do is save you the trouble of spending hours of your life managing an instance

I think people can decide for themselves.

you're missing the proxy, the backend

This I did not know because it's not stated anywhere and just building the frontend worked but it does in fact contact kavin.rocks for everything.

Because clearly connecting to Google's servers for it would be a worse idea

I haven't said that it should use Google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants