Question

Gitlab on Ubuntu NodeJS server

Hi.

I have a Ubuntu Node.js server which runs our MeteorJS apps.

I would also like to (In the near future) install GitLab on a subdomain in order to control private version control and app deploys within my company. I was wondering if it is possible since Gitlab uses Rails.

Would installing rails conflict with Node.JS ?

Also if Rails will not conflict with Node.JS, is it also possible to install Apache + MySQL in order to run PHP deployments controlled from Gitlab?

Summary: “Can I have Node.JS + MongoDB, Rails, and Apache + MySQL, all installed at the same time in order to control Meteor + Node + MongoDB sites, PHP + MySQL sites, and use version control with GitLab on a subdomain to control development and deployments?”

Sincerely, Aperture Studios


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@asb Thanks for your response! I already have Nginx setup so i am at a good starting point.

I plan to separate services over different droplets, ex: “NYC3 = Node.JS, London = Apache, San Fransisco = Gitlab” etc… But i would like to start off on one droplet to get started.

It’s certainly possible. Though there are some drawbacks to putting multiple unrelated services on the same host. Problems with one site may lead to downtime for all of your projects, and of course they will all be competing for resources.

If you want to give it a shot, I’d suggest setting up Nginx in front of you other services as reverse proxy. Check out this tutorial:

You’ll also want to take a look at the README for GitLab’s “Omnibus” installer as well as this doc on Nginx settings for GitLab. GitLab ships its own bundled version of Nginx. For your purposes, you’ll likely want to disable that.

Let us know how it goes, or if you run into a more specific issue.