Deploying Rocket.Chat on Galaxy

Galaxy is a platform-as-a-service built specifically for Meteor apps. Built using the latest Docker and AWS cloud infrastructure.

You will need to sign up for Galaxy.

Get Rocket.Chat code

Download the source code first to be able to deploy to Galaxy

git clone
cd Rocket.Chat

Set your MongoDB URL

You will need a Mongo database configured for your Rocket.Chat application, for better performance, as meteor hosting uses AWS. It is advised that you setup your database in the same AWS region.

Create a settings.json file to set the environmental variable as follows:

  "": {
    "env": {
      "MONGO_URL": "mongodb://<user>:<password>@<host>:<port>/<database>?replicaSet=rs01",
      "MONGO_OPLOG_URL": "mongodb://<oplog_username>:<oplog_password>@<db_server_host>:<db_server_port>/<oplog_db_name>?authSource=admin&replicaSet=rs01",
      "ROOT_URL": "...",
      "MAIL_URL": "...",


Deploy to Galaxy servers

Execute this from the root of the source code:

DEPLOY_HOSTNAME=[region] meteor deploy [hostname] --settings [filepath.json]
  • region is ‘’ for US East, ‘’ for EU West, and ‘’ for Asia-Pacific.

  • hostname is the fully qualified domain name where you’re planning to host your application (using the hostname format, in this example).

  • filepath.json is the path to your settings file (for example, ‘./settings.json’).

For more information on these steps check out galaxy's doc

Last updated

Rocket.Chat versions receive support for six months after release.