description |
---|
Deploying Rocket.Chat on IBM Cloud |
{% hint style="info" %} 👉 Trouble installing or deploying Rocket.Chat? Join our Weekly Technical Helpline to get real-time help from our team! {% endhint %}
IBM Cloud have various options for hosting Rocket.Chat, Docker container on a Kubernetes cluster, VMWare, Bare Metal Server, but the instructions below will focus in creating a Cloud Foundry Rocket.Chat app.
- An IBM Cloud account
- The IBM Cloud command line client (ibmcloud) installed
- git
First, logon to the IBM Cloud dashboard and then select in the Apps box, Create an app
.
Then give the Rocket.Chat server a unique app name, select as Starting point
Create a new app, and as Platform
select Node.js. Finish by clicking Create
.
After creation is finished, select Create service
from the App Details tab, select Databases from the list of services, and Databases for MongoDB.
Configure MongoDB to enable oplog tailing and intiate a replicaset.
All remaining steps will be preformed at the command line.
Git clone the latest Rocket.Chat:
git clone https://github.com/RocketChat/Rocket.Chat.git
Log in to the IBM Cloud command-line interface:
ibmcloud cf login
Push Rocket.Chat to the app you created early in the dashboard using meteor-buildpack-horse:
cf push <your app name> -m 512M -b https://github.com/RocketChat/meteor-buildpack-horse.git
Go to https://<your app name>.mybluemix.net/
in your browser to access your instance of Rocket.Chat
If you encounter any problem check the IBM Cloud Creating Apps instructions here.