This page is a WORK IN PROGRESS and is NOT complete#
Docker#
If you don’t have docker installed on your system, go to the official Docker installation page linked below:
Explaining the installation process for Docker is a bit outside the scope of this project.
Prepare The Directory#
Choose a Folder / Directory for RocketChat to “live” in. Inside that directory, create 2 new folders:
- data
- uploads
Get The Template#
Click here to download the docker compose template for RocketChat. Copy / save the template in the folder you made before, so it sits next to the 2 new directories. Rename it to docker-compose.yaml.
Edit The Template#
You will need to edit it for it to work:
- Replace all instances of ADMIN_PASSWORD with a unique password (there are 3, they should all be the same)
- Replace IP_YOU_ACCESS_ROCKET_CHAT_FROM with the local IP of the device you plan to run this on.
- If you haven’t already, you should give it a static IP in your wifi router’s settings. How to do that is different for every router, so look up the model and brand to find out.
- Replace both instances of PORT_FOR_ACCESS with the port you want to use to access RocketChat from your web browser.
- I use 30301, but it doesn’t matter too much.
Create A KeyFile#
docker run –rm mongo:7.0 openssl rand -base64 756 > security.keyFile