Skip to main content

Rocket.Chat

Version: 6.1.6   |   OS: Ubuntu 20.04

Overview

Rocket.Chat is an open-source communication platform designed for team collaboration with high standards of data protection and customization. It supports real-time messaging across web, desktop, and mobile devices, and is ideal for companies seeking a secure, self-hosted alternative to platforms like Slack or Microsoft Teams.

Included Software

  • Rocket.Chat - 6.1.6
  • NodeJS - 14.21.2
  • MongoDB - 5.0.17

Getting Started

Firewall & Access

Ensure the following ports are open:

PortServicePurpose
22SSH (rate limited)Secure server access
3000Rocket.ChatWeb interface access

Initial Deployment

During initial deployment, you will be disconnected from SSH with the message:

Please wait until the installation is completed....
Connection to $IPADDRESS closed.

Do not log in for at least 2 minutes. This allows the Rocket.Chat setup to complete properly.

Accessing the Instance

  • Login via SSH as ubuntu using your chosen password or SSH key.
  • Elevate to root:
sudo su -

Once logged in, you will see a message similar to:

##################################################################################################################################################################
Rocket.Chat is the leading open source team chat software solution. Free, unlimited and completely customizable with on-premises and SaaS cloud hosting.
Replace email, HipChat & Slack with the ultimate team chat software solution.

This Rocket.Chat image uses docker under the hood. To learn more, please read our docker documentation - https://docs.rocket.chat/deploy/prepare-for-your-deployment/rapid-deployment-methods/docker-and-docker-compose

You can find the compose project in $HOME/rocketchat directory.

Looking for how to use Rocket.Chat? Be sure to check our docs: https://docs.rocket.chat
Need some help? Join our community forums https://forums.rocket.chat and https://open.rocket.chat
##################################################################################################################################################################

Accessing Rocket.Chat

Once setup is complete, visit the following URL in your browser:

http://$IPADDRESS:3000

Or use a domain name pointed to your instance.

Create an A record in your DNS pointing to the instance's public IP address. Example:

chat.mycompany.com -> $IPADDRESS

Then you can access Rocket.Chat at:

http://chat.mycompany.com:3000

Post-Deployment Notes

  • Rocket.Chat runs as a Docker-based service.
  • Configuration files and compose setup are located in $HOME/rocketchat
  • For updates and administration, refer to official Docker deployment documentation.

Best Practices

  • Immediately update the admin credentials after first login.
  • Set up HTTPS reverse proxy using NGINX and Certbot for production use.
  • Monitor server resource usage, especially if enabling video or heavy chat integrations.
  • Schedule regular Docker backups.

For additional guidance, refer to the Rocket.Chat Documentation or contact Cloud4India Support.