Skip to content
Thomas Lutz edited this page Dec 2, 2015 · 8 revisions

Make sure you have docker and docker-compose installed and operational.

Note: as stated by Docker, docker-compose is not yet recommended for production use at this time.

Look for the docker-compose.yml file at the top level of the Rocket.Chat Git repo. This is the ONLY file you will need from the repo. You can create this file on your own machine by copy and pasting the content.

Open it with an editor and modify:

  • ROOT_URL to match your domain name or IP address

Start the mongodb server by:

docker-compose up -d mongo

Mongo supports 24 x 7 operations and live backup. You should not need to restart it too frequently. See mongodb documentations for proper operation and management of a mongo server.

Once you're sure that mongodb is up and running:

docker-compose up -d rocketchat

Optionally, if you want to manage your messages and configuration information, edit the file again to uncomment the volume mounts. Make sure you have a data subdirectory to mount and store the data.

Optiionally, if you want a bot, so you don't have to talk to yourself, after you've created an admin user and also a bot user, edit the file docker-compose.yml again to change the variables ROCKETCHAT_USER and ROCKETCHAT_PASSWORD in the hubot section and then start up hubot:

docker-compose up -d hubot
Clone this wiki locally