Change mongo bind_ip in ubuntu snapd


I am trying to make mongo bind to the interface ip instead of the localhost ip, but where can i configure that in Ubuntu RC snap setup ?

The goal is to setup an extra server in a HA setup, to handle mobile connections.

Server Setup Information

  • Version of Rocket.Chat Server: 3.5.2
  • Operating System: Ubuntu 18.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.16.1
  • MongoDB Version: 3.6.14
  • Proxy: nginx
  • Firewalls involved: