
You will need to change the ROOT_URL based on your particular needs. That's what we'll focus on for now.įind line 11 of the docker-compose.yml file, which begins with ROOT_URL. You only need to change one of them, however, to enable the most basic setup. You can't just go ahead with this default file-you need to change a few of the variables to fit your unique Rocket.Chat installation. yml files are finicky when it comes to syntax, which might lead to parsing errors. # - /var/run/docker.sock:/var/run/docker.sockīe sure that the text, when copied, looks exactly like this. # command: traefik -docker -acme=true -acme.domains='' -acme.email=' ' -acme.entrypoint=https -acme.storagefile=acme.json -defaultentrypoints=http -defaultentrypoints=https -entryPoints='Name:http Address::80 Redirect.EntryPoint:https' -entryPoints='Name:https Address::443 TLS.Certificates:' # this is used to expose the hubot port for notifications on the host on port 3001, e.g. EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics # you can add more scripts as you'd like here, they need to be installable by npm Image: rocketchat/hubot-rocketchat:latest
Slack vs rocketchat password#
# hubot, the popular chatbot (add the bot user first and change the password before starting this image) # it will run the command and remove himself (it will not stay running)Ĭommand: 'mongo mongo/rocketchat -eval "rs.initiate()"' # this container's job is just run the command to initialize the replica set. "=Host: "Ĭommand: mongod -smallfiles -oplogSize 128 -replSet rs0

MONGO_OPLOG_URL=mongodb://mongo:27017/local MONGO_URL=mongodb://mongo:27017/rocketchat Create the file with your text editor of choice and paste in the following example file from Rocket.Chat. Now that you're in the rocket.chat folder, you can create a docker-compose.yml file to tell Docker how you want the system configured. You can place this wherever you'd like, but I think your user's home directory is a good choice.

Once you've SSH-ed into your VPS, and you have Docker up and running smoothly, you can get started on setting up docker-compose to automate the process of deploying your Rocket.Chat app.įirst, create a nice space for our docker-compose.yml file.
