MONGO_OPTIONS where to configure

Description

Would like some advise on where to configure this. we need to connect to MongoDB with TLS.

Server Setup Information

  • Version of Rocket.Chat Server: 4.8.0
  • Operating System: Ubuntu 20.04 TLS
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.19.3
  • MongoDB Version: 4.4.13
  • Proxy:
  • Firewalls involved:

Any additional Information

Hi!

This should be an environment variable.

Please, also consider using Docker instead of tar, if possible.

Hi, when you mean environment variable. are you referring to the OS environment variable?

unfortunately, the directions given was to use the tar installation instead of docker.

Hi, when you mean environment variable. are you referring to the OS environment variable?

That’s right!

unfortunately, the directions given was to use the tar installation instead of docker.

It’s not the best way to run it, but not a problem at all. Bear in mind that node version and other dependencies could impact when upgrading and should be taken care of accordingly.