Can GitLab be installed on the same droplet as Discourse

AI-generated summary

The discussion revolves around installing GitLab on the same DigitalOcean (DO) droplet as Discourse. precessor wants to know if it’s a good idea, considering Docker’s capabilities. sam suggests an 8GB droplet would be sufficient based on GitLab’s hardware requirements. Alternatively, pfaffman recommends gitolite, a lightweight solution for private repositories, which can run on a 1GB droplet with minimal overhead. fefrei shares their experience of successfully running GitLab and multisite Discourse on a 6GB RAM server with 1GB swap, advising against simultaneous updates for both applications.

I am thinking of installing GitLab on a server.
Can I use the same DO droplet where Discourse resides (assuming I add space/RAM as needed)? My impression is that that’s what Docker is all about? Or is it a Bad Idea?

Looking at that page:

Prerequisites
This tutorial will assume that you have access to a fresh Ubuntu 16.04 server. The published GitLab hardware requirements recommend using a server with:

2 cores
4GB of RAM

So yeah, you would probably be good with a 8GB droplet :slight_smile:

Depending on your needs,you could probably install gitolite on a 1 gb droplet without any deleterious effect.

Edit (back at a computer): If all you want is a way to have private repositories, gitolite has virtually zero overhead. Installing it is a bit quirky, but once you do, if you’re comfortable using git and editing text files, it’s pretty easy to manage adding new projects and making people be able to access them. (And if you’re not comfortable with git and text files, well. . . . )

I’m running a server with GitLab and (multisite) Discourse. It has 6 GB RAM and 1 GB swap, and is running fine:

(I try to make sure that GitLab and Discourse aren’t updating simultaneously, though ;-))