OFFICIAL REPOSITORY rocket.chat
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead, 2 commits behind RocketChat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scripts
.dockerignore
Dockerfile
README.md
UPDATE.md
docker-compose.yml
generate-stackbrew-library.sh
update.sh

README.md

Rocket.Chat

Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework.

It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms.

%%LOGO%%

How to use this image

Docker Compose

If you need both the mongo and Rocket.Chat containers, use a docker compose one-liner:

docker-compose up --build -d

Which will run both containers, with Rocket.Chat listening on http://localhost:80 Then, access it via http://localhost in a browser. Replace localhost in ROOT_URL with your own domain name if you are hosting at your own domain.

Stop the containers with:

docker-compose down

Individual containers

First, start an instance of mongo:

docker run --name db -d mongo:3.2 mongod --smallfiles

Then start Rocket.Chat linked to this mongo instance:

docker run --name rocketchat --link db:db -d rocket.chat

This will start a Rocket.Chat instance listening on the default Meteor port of 3000 on the container.

If you'd like to be able to access the instance directly at standard port on the host machine:

docker run --name rocketchat -p 80:3000 --env ROOT_URL=http://localhost --link db:db -d rocket.chat

Then, access it via http://localhost in a browser. Replace localhost in ROOT_URL with your own domain name if you are hosting at your own domain.

If you're using a third party Mongo provider, or working with Kubernetes, you need to override the MONGO_URL environment variable:

docker run --name rocketchat -p 80:3000 --env ROOT_URL=http://localhost --env MONGO_URL=mongodb://mymongourl/mydb -d rocket.chat