MONGO_URLvariable in your compose file to be your connection string in this format
ROOT_URLfrom the default
http://localhost:3000to match your domain name or IP address as you wish
rocketchat, that will also wait for
mongodbto be ready.
datasubdirectory to mount and store the data.
rocketchatdocker image to the latest version, update the
RELEASEvalue in your
.envfile, then simply run
docker compose up -d. Your data should not be affected by this, since it's located in the