Back to Apps
Rocket.Chat

Deploy Rocket.Chat on Your Own Server

Slack like online chat, built with Meteor. Real-time conversations with your colleagues, other companies or customers.

πŸ’¬ Communication

Want to deploy Rocket.Chat on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Rocket.Chat?

Deploy your own Rocket.Chat instance with this one click. For more information see https://github.com/RocketChat/Rocket.Chat

Learn more

Self-Host Rocket.Chat

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  rocketchat:
    image: registry.rocket.chat/rocketchat/rocket.chat:5.2.0
    environment:
      ADMIN_EMAIL: ""
      ADMIN_NAME: Captain
      ADMIN_PASS: ea82c79c5513f73d
      ADMIN_USERNAME: captain
      DEPLOY_METHOD: docker
      DEPLOY_PLATFORM: Senate
      MONGO_OPLOG_URL: mongodb://root:613ba1f206c3f91960c1b60c@rocketchat-db:27017/local?replicaSet=rs0&authSource=admin
      MONGO_URL: mongodb://rocketchat:472eb42af3e5e4c193f2feb0@rocketchat-db:27017/rocketchat?replicaSet=rs0
      OVERWRITE_SETTING_Site_Url: http://rocketchat.your-domain.com
      PORT: "3000"
      ROOT_URL: http://rocketchat.your-domain.com
    volumes:
      - rocketchat-data:/app/uploads
    depends_on:
      - rocketchat-db
  rocketchat-db:
    image: bitnamilegacy/mongodb:5.0
    environment:
      MONGODB_ADVERTISED_HOSTNAME: rocketchat-db
      MONGODB_DATABASE: rocketchat
      MONGODB_INITIAL_PRIMARY_HOST: rocketchat-db
      MONGODB_INITIAL_PRIMARY_PORT_NUMBER: "27017"
      MONGODB_PASSWORD: 472eb42af3e5e4c193f2feb0
      MONGODB_PORT_NUMBER: "27017"
      MONGODB_REPLICA_SET_KEY: 592cdf556edb1ca283da34e71f540c05
      MONGODB_REPLICA_SET_MODE: primary
      MONGODB_REPLICA_SET_NAME: rs0
      MONGODB_ROOT_PASSWORD: 613ba1f206c3f91960c1b60c
      MONGODB_ROOT_USER: root
      MONGODB_USERNAME: rocketchat
    volumes:
      - rocketchat-db-data:/bitnami/mongodb
volumes:
  rocketchat-data: {}
  rocketchat-db-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:3000

Why Self-Host Rocket.Chat?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

registry.rocket.chat/rocketchat/rocket.chat:${app_version}

Official Docs

github.com

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"