Sign In
Sign In

Rocket.Chat

Rocket.Chat is an open-source fully customizable communication platform which offers real-time messaging, video conferencing, and file sharing with high security and customization. It has desktop and mobile apps and supports integrations with tools like Slack and CRM systems. 


Rocket.Chat is ideal for teams or businesses and can be used for team collaboration as well as customer engagement.

rocket.chat
Hostman Cloud

Software

Rocket.Chat can be installed on Ubuntu versions 18.04, 20.04, and 22.04. 

When choosing the Rocket.Chat image, we will install on your server:

  • Rocket.Chat (latest version)
  • Docker CE (latest version)
  • Docker Compose Plugin (latest version)
  • MongoDB (version 4.4)

Rocket.Chat will run in a Docker container. You can find the compose.yml file in /opt/rocketchat.

Getting Started

To install Rocket.Chat on your server:

  1. When creating a new Hostman server or reinstalling an existing one, select MarketplaceRocket.Chat
  2. Select a preferred Ubuntu version. We recommend using 20.04 or 22.04.
  3. Finish creating your server.

Your server will be online in a couple of minutes. 

Navigate to your server IP address in the browser: http://your-server-ip/. The setup wizard will open and you can start configuring your Rocket.Chat instance.

While you can access Rocket.Chat via the server IP address, we recommend setting up a domain name, such as rocket.mydomain.com. The A record of the new domain should point to your server IP address.

For secure connection, you should also set up an SSL certificate for your domain, so that Rocket.Chat is available via HTTPS. Follow the below steps.

  1. Navigate to /opt/rocketchat:
cd /opt/rocketchat
  1. Open the .env file:
nano .env

Add the following content, substituting yourdomain.com with your actual domain name and providing an email address:

ROOT_URL=yourdomain.com
DOMAIN=yourdomain.com
LETSENCRYPT_EMAIL=email_for_Lets_Encrypt
ROOT_URL=https://mydomain.com/
  1. Open compose.yml:
nano compose.yml

And change the ports section from: 

ports:
  - 80:3000

To:

ports:
- 3000:3000
  1. Download .yml for Traefik:
wget https://raw.githubusercontent.com/RocketChat/Docker.Official.Image/master/traefik.yml -O traefik.yml
  1. Restart the containers:
docker compose up -d rocketchat --force-recreate
  1. And launch Traefik:
docker compose -f traefik.yml up -d

In a couple of minutes an SSL certificate will be issued, and you can access your Rocket.Chat instance via https://yourdomain.com.

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support