Rocket.Chat
Rocket.Chat is a self-hosted team chat platform with channels, video calls, and federation, aimed at organizations that want a Slack alternative they fully control.
1Install Docker and Git
Rocket.Chat's official Docker Compose setup requires Docker Engine, Docker Compose v2, and Git.
curl -L https://get.docker.com | shsudo apt install git -ysudo usermod -aG docker $USERLog out and back in (or reboot) after adding your user to the docker group so it takes effect.
2Clone the official Rocket.Chat Compose repository
git clone --depth 1 https://github.com/RocketChat/rocketchat-compose.gitcd rocketchat-compose3Configure your environment
Copy the example environment file and set your release version, domain, and root URL.
cp .env.example .envnano .envAt minimum set RELEASE, DOMAIN, and ROOT_URL. Set LETSENCRYPT_ENABLED=true and LETSENCRYPT_EMAIL if you plan to add the Traefik compose file for automatic TLS.
4Deploy the stack
Bring up the core Rocket.Chat service together with its MongoDB database and NATS message broker.
docker compose -f compose.database.yml -f compose.yml -f compose.nats.yml -f docker.yml up -ddocker ps -aAdd -f compose.traefik.yml for automatic TLS via Traefik, or -f compose.monitoring.yml for a bundled Prometheus/Grafana stack.
5Complete the setup wizard
Open your domain (or http://localhost:3000 for local testing) in a browser. Rocket.Chat's setup wizard walks you through creating the first admin account and workspace.