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

feature request: install revolt without docker #91

Open
sysadminpower2019 opened this issue Jul 27, 2024 · 6 comments
Open

feature request: install revolt without docker #91

sysadminpower2019 opened this issue Jul 27, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@sysadminpower2019
Copy link

What do you want to see?

Hello,

Would it be possible to install revoltchat without using docker? This would be important for smaller instances and machines with lower specs

@insertish
Copy link
Member

Are you asking for a guide or if it's possible?

Build instructions are detailed on individual projects, e.g. https://github.com/revoltchat/backend#development-guide
(if you pin to a tag, the development guide is functionally the same steps you'd take to deploy production)

@sysadminpower2019
Copy link
Author

yes the ideal would be a guide on how to run this docker freee. the link you provided still uses docker as part of the documentation, so I don't really understand how you can use this to run a dockerless instance

@alexpyattaev
Copy link

Well in principle there is no magic about docker - it is just pulling a bunch of packages. If you have equivalents in your linux distro, you could pull them via your package manager and plop the configs from the docker images. This should (in principle) just work. I'd be quite interested in this as well, we can try to tackle this together.

@insertish
Copy link
Member

yes the ideal would be a guide on how to run this docker freee. the link you provided still uses docker as part of the documentation, so I don't really understand how you can use this to run a dockerless instance

Apologies, didn't realise.
I'm not sure whether this is in scope for the project, especially since maintaining all of these services separately can become cumbersome very quickly. Is there any reason to not use a set of containers here?

@alexpyattaev
Copy link

Containers are fairly heavy on the CPU and especially on the disk usage. So on a small VPS this could be a serious problem.

@tuaris
Copy link

tuaris commented Sep 22, 2024

Is there any reason to not use a set of containers here?

I would also like to add that this limits the platform choice to only operating systems that can run Docker. Not everything Unix is Linux :)

That said, I'm sure those of us who prefer to not use Docker are perfectly willing to and capable of managing the services ourselves. We don't expect (at least initially) for the project to hand hold and provide a fully automated installation without Docker.

I think what we need is:

  • System requirements telling us what 3rd party services need to be installed using whatever means is available (like MongoDB, S3 Compatible server: [Minio or Garage], Redis, and a reverse proxy HTTP server).
  • Steps explaining what needs to be built. (is it just a single build command in the backend and frontend Git repos?)
  • An explanation on how to get all of it 'glued' together (is it just edit Revolt.toml?)
  • How to start each backed service (just run the binary?)
  • How to start the frontend service (Do I just drop the files in a web directory and serve them with NGINX/Apache/Caddy?)

This will attract more people to use the software, who will contribute to it, improve it and the documentation, resulting in better instructions, and eventually an 'officially' maintained setup guide.

In fact, I will give credit where it's due. The current README's are okay, but they make it seems as if it's only for local dev. Maybe you can share a little about how app.revolt.chat is provisioned? With that information I may be able to help contribute some documentation for a better self-hosted production option.

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
Status: 🆕 Untriaged
Development

No branches or pull requests

4 participants