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

Easy self-hosting support #21

Closed
michaelb opened this issue Jul 19, 2023 · 4 comments
Closed

Easy self-hosting support #21

michaelb opened this issue Jul 19, 2023 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@michaelb
Copy link

I noticed there aren't any instructions for self-hosting Vrite, which is somewhat uncommon for such "open-source" projects

Is it officially 'supported' ?

Note: if Vrite is your business, self-hosting may not be incompatible. Standard Notes comes to mind as an example of open-source, self-hostable but tiered service

@areknawo
Copy link
Collaborator

Hey,
Self-hosting isn't officially supported right now.

The thing is, Vrite originally started as a closed-source service, and I decided a bit later in the development that open-source is the best way for such a CMS to evolve (as you've said, there are many COSS projects with viable business models).

That's why it wasn't optimized for that from the start and needs some work to do so. Now, with updates and bug fixes coming pretty often, it's not currently prioritized as the hosted platform allows me to iterate a bit quicker.

That said, self-hosting is a must-have for a stable version and I'm working on a data migration system as well to make it really simple for those who do want to move over.

More details on all that are here: https://docs.vrite.io/self-hosting/

@areknawo areknawo changed the title Self-hosting ? Easy self-hosting support Jul 19, 2023
@areknawo areknawo added the enhancement New feature or request label Jul 19, 2023
@areknawo areknawo added this to the RC milestone Jul 19, 2023
@ile
Copy link

ile commented Sep 10, 2023

Hi,

I'm trying to get this to work, but I have some trouble.

For example, there are two similar/same lines, which seem to cause some problems ("address already in use"):

https://github.com/vriteio/vrite/blob/main/apps/backend/app/src/index.ts#L8
https://github.com/vriteio/vrite/blob/main/apps/backend/api/src/index.ts#L19

Any help, please?

@areknawo
Copy link
Collaborator

The work for self-hosting is almost completed on the feature/self-hosting branch. Many changes were made to simplify the process and fix issues like the ones you're experiencing.

I'm still working on documentation and a proper build pipeline, but docker-compose.yml and Dockerfiles are already available there.

I'd recommend you wait until it's all ready and merged (hopefully sometime this week), but feel free to check it out if you're interested.

@areknawo
Copy link
Collaborator

Self-hosting is now supported with v0.2.0, using Docker and Docker Compose. Check out the official guide here: https://docs.vrite.io/self-hosting/docker/

Will close this one, but please report any self-hosting problems as separate issues.
Thanks!

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

No branches or pull requests

3 participants