MirrorNest
← Todos os guias

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.

Destino: Any Docker hostCommunicationSite oficial ↗Documentação oficial ↗
Este guia foi elaborado a partir da documentação oficial do Rocket.Chat, ligada acima — verifique sempre lá os nomes exatos dos pacotes/versões antes de executar estes comandos num servidor de produção, uma vez que as versões da distribuição e do projeto mudam com o tempo.
  1. 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 | sh
    sudo apt install git -y
    sudo usermod -aG docker $USER

    Log out and back in (or reboot) after adding your user to the docker group so it takes effect.

  2. 2Clone the official Rocket.Chat Compose repository

    git clone --depth 1 https://github.com/RocketChat/rocketchat-compose.git
    cd rocketchat-compose
  3. 3Configure your environment

    Copy the example environment file and set your release version, domain, and root URL.

    cp .env.example .env
    nano .env

    At 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.

  4. 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 -d
    docker ps -a

    Add -f compose.traefik.yml for automatic TLS via Traefik, or -f compose.monitoring.yml for a bundled Prometheus/Grafana stack.

  5. 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.