Rocket.Chat's Community Open Call 🎤 Jan 19th, 2022 Join us!

Migrate from manual install to docker

I’m looking for advice and possibly a “how to”. We’re using a manual install of RocketChat on Debian Linux. I would like to consider migrating to Docker. How difficult is that likely to be? I have some experience with Docker.

Hi!

It shouldn’t be difficult.

consider you will use same versions on both installs.

basically:

  • get DB dump and uploads (if they are in filesystem instead of GridFS) from current install
  • run a docker instance on your machine
  • restore data to the mongo docker instance and copy the uploads to the uploads file
  • run it

If you need upgrading to latest version, do it before or after this migration.

check this for some more about restoring mongo inside docker: