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 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 will run in a Docker container. You can find the compose.yml
file in /opt/rocketchat
.
To install Rocket.Chat on 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.
/opt/rocketchat
:cd /opt/rocketchat
.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/
compose.yml
:nano compose.yml
And change the ports
section from:
ports:
- 80:3000
To:
ports:
- 3000:3000
.yml
for Traefik:wget https://raw.githubusercontent.com/RocketChat/Docker.Official.Image/master/traefik.yml -O traefik.yml
docker compose up -d rocketchat --force-recreate
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
.