self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

feature request: install revolt without docker

Open sysadminpower2019 opened this issue 1 year ago • 7 comments

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

sysadminpower2019 avatar Jul 27 '24 20:07 sysadminpower2019

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)

insertish avatar Jul 28 '24 09:07 insertish

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

sysadminpower2019 avatar Aug 12 '24 19:08 sysadminpower2019

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.

alexpyattaev avatar Sep 13 '24 17:09 alexpyattaev

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?

insertish avatar Sep 15 '24 15:09 insertish

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

alexpyattaev avatar Sep 16 '24 19:09 alexpyattaev

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.

tuaris avatar Sep 22 '24 07:09 tuaris

yes please how do I install a Revolt server, without the docker requirement? without opening container warz wounds, docker is not the be all and end all to C group isolation.

As Tuaris points out, not all *nix have or package docker, and many of us do not want, or need the overhead 'on-box' . . . I'm part way thru trying to un-dockerise the documentation, which is not so fun. It may be all you need is a 'non docker' howto for your existing code .. if that's at all possible.

Hell might try drop it in a Solaris zone .. definitely no docker in there. *BSD jails ? Lots of reasons one might not want docker.

rrimc69 avatar Apr 27 '25 05:04 rrimc69