# Can GitLab be installed on the same droplet as Discourse

**URL:** https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147
**Category:** Support
**Created:** [2017年三月15日 09:28 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147 "2017-03-15T09:28:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)
#### Post date: [2017年三月15日 09:28 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147/1 "2017-03-15T09:28:50Z")

</div>

I am thinking of [installing GitLab](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-gitlab-on-ubuntu-16-04) 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?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年三月15日 13:55 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147/2 "2017-03-15T13:55:48Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017年三月15日 14:12 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147/3 "2017-03-15T14:12:04Z")

</div>

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](http://gitolite.com/gitolite/index.html) 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. . . . )

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [2017年三月15日 19:38 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147/4 "2017-03-15T19:38:02Z")

</div>

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

 ![](https://global.discourse-cdn.com/meta/original/3X/7/7/7744222063c31bcd510943028ba9a5451ade7bc7.png)

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

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年五月14日 07:24 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147/5 "2019-05-14T07:24:18Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年六月13日 07:24 UTC](https://meta.discourse.org/t/can-gitlab-be-installed-on-the-same-droplet-as-discourse/59147/6 "2019-06-13T07:24:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
