Question

Digitalocean Droplet Zulip - running multiple self-hosted servers on the same droplet?

I am running a self-hosted zulip-server on a digitalocean droplet and I would like to run a second zulip-server on the identical digitalocean droplet. Is this possible? How can I do this? Running the first server is very easy, by just entering the necessary parameters when starting the console of the droplet. Can I enter somehow a few lines in the droplet console, that will do the trick, without interfering with the already established first zulip-server? I thought about using a subdomain of the current domain or an alternative domain for the server.


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.

Bobby Iliev
Site Moderator
Site Moderator badge
August 2, 2023

Hi there,

I would personally stick to separate Droplets to make sure that the two Zulip servers are isolate. Running multiple instances will increase the resource usage of your Droplet.

Depending on the size of your Droplet and the expected usage of your Zulip instances, you may need to increase your resources anyway.

Alternatively, what you could do is use the Zulip official docker image, that way the Zulip installations will at least be isolated within separate containers.

What you would need to make sure is that all instances expose different ports, as you can’t have multiple services listening on the same ports, meaning that you would need to update the docker-compose.yaml file and adjust the exposed ports so that they are unique for each instance of the Zulip containers.

Hope that this helps!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel