Back to all templates
Rocket.Chat logo

Rocket.Chat

Application1024MB+ RAM

Team collaboration platform with chat, video, and file sharing

chatcollaborationslack-alternative

Deploy Rocket.Chat in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Rocket.Chat

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Terminal Deployment

Rocket.Chat CLI Deployment

Deploy Rocket.Chat the traditional way with SSH and Docker Compose.

1

Start a Secure Shell Session

Open your terminal and connect to your server. Replace the IP address with your VPS IP.

terminal
# SSH into your server
ssh root@your-server-ip

# Using a custom SSH key
ssh -i ~/.ssh/id_rsa root@your-server-ip

First time? Need Docker? Install it: curl -fsSL https://get.docker.com | sh

2

Prepare Your Workspace

Set up a clean directory for your application.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/rocketchat
cd ~/apps/rocketchat
3

Set Up Container Configuration

Set up the container stack using this Docker Compose configuration:

docker-compose.yml
services:
  rocketchat:
    image: rocket.chat:latest
    ports:
      - "3000:3000"
    environment:
      - ROOT_URL=<your-root-url>
      - MONGO_URL=mongodb://mongodb:27017/rocketchat?replicaSet=rs0
      - MONGO_OPLOG_URL=mongodb://mongodb:27017/local?replicaSet=rs0
    restart: unless-stopped
    depends_on:
      - mongodb

  mongodb:
    image: mongo:7
    command: mongod --replSet rs0 --oplogSize 128
    volumes:
      - mongodb_data:/data/db
    restart: unless-stopped

  mongo-init:
    image: mongo:7
    command: mongosh --host mongodb --eval "rs.initiate({_id:'rs0',members:[{_id:0,host:'mongodb:27017'}]})"
    depends_on:
      - mongodb
    restart: "no"

volumes:
  mongodb_data:
Deployment Settings
PORTHost port(default: 3000)
ROOT_URLPublic URL
4

Bring Up the Application

Launch your application stack in the background.

terminal
# Start the containers in detached mode
docker compose up -d

# Check if containers are running
docker compose ps

# View logs
docker compose logs -f
5

Configure Firewall

Configure your firewall to permit external connections.

terminal
# Allow the application port through firewall
sudo ufw allow 3000/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:3000
Skip the Terminal

Prefer a visual interface? Use Server Compass.

Server Compass makes deploying Rocket.Chat effortless. Visual setup, one-click deploy, done.

  • Visual configuration UI
  • One-click deployment
  • Automatic SSL setup
  • Zero-downtime updates
  • Built-in monitoring
  • One-click rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Rocket.Chat with Server Compass, complete these steps to finish setup

1

Complete setup wizard

2

Create channels and users

Need help? Check out our documentation for detailed guides.

Rocket.Chat FAQ

Common questions about self-hosting Rocket.Chat

How do I deploy Rocket.Chat with Server Compass?

Simply download Server Compass, connect to your VPS, and select Rocket.Chat from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Rocket.Chat?

Rocket.Chat requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Rocket.Chat data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Rocket.Chat backup and restore procedures.

How do I update Rocket.Chat to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Rocket.Chat image will be pulled and deployed with zero downtime.

Is Rocket.Chat free to self-host?

Rocket.Chat is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Rocket.Chat?

Download Server Compass and deploy Rocket.Chat to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass