Deploy with Digital Ocean

Rocket.Chat offers a seamless and user-friendly solution for setting up your own chat platform on Digital Ocean with just a single click. With the 1-Click installarrow-up-right from the Digital Ocean marketplace, you can effortlessly launch and configure Rocket.Chat, empowering your team to communicate and collaborate efficiently.

Preparation Steps

Before you begin, make sure you have the following:

  • An active Digital Oceanarrow-up-right account

  • A domain name (optional). You can use Digital Ocean's provided IP address, but having a domain name is recommended for a more professional setup to enable HTTPs.

In this guide, you'll learn how to:

Deploy Rocket.Chat on Digital Ocean

To set up Rocket.Chat on Digital Ocean,

circle-info

You can get immediate access to your Rocket.Chat server by visiting http://droplet-ip:3000.

  • Create a registered domain name to access Rocket.Chat. Set up an A record from your domain (e.g. chat.mycompany.com) to the droplet's IP address.

  • To access your workspace, visit the configured domain on your web browser.

  • After successfully setting up the Rocket.Chat droplet and your domain, log in to your droplet using the command below:

  • Enter your password when prompted. Once you've successfully connected, a message similar to this will appear.:

circle-check

Enabling HTTPS

It's important to note that Rocket.Chat doesn't have HTTPS enabled by default, as SSL certificates are unique to each installation. However, activating HTTPS with Let's Encrypt certificates can easily be done following the next steps.

To enable HTTPS,

  • Ensure the correct A record (optionally CNAME) is set for your domain going to your droplet IP.

  • Create a user account without root access using this command:

  • Once you can confirm the records update[s] have propagated, copy the rocketchat project directory from the root, and change ownership.

  • Follow the steps highlighted in the Enable HTTPs section of our docker deployment guide.​

Last updated