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 install 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 Ocean 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,
Go to the Rocket.Chat app on the Digital Ocean marketplace and follow the prompts to create the Rocket.Chat droplet.
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.:
Behind the scenes, the image uses Docker to handle the deployment. See Deploy with Docker & Docker Compose to learn how to manage docker deployments.
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.
Last updated