Using MongoDB on cloud
MongoDB Atlas is a cloud-based database that can be used to maintain Sametime data.
Before the Sametime server can communicate with the MongoDB Atlas, you must have an Atlas account. To sign-up for an account, refer to the Try MongoDB Atlas website.
-
Log into your MongoDB Atlas account.
-
Access the Atlas user interface.
-
Click Connect.
-
Select the driver from the dropdown list.
-
Select whether to use password or x.509 encryption.
In the box under View full code example, is the URL to the MongoDB on Atlas. You can use the copy icon to copy the URL. The following is an example URL:
mongodb+srv://Admin:<password>@cluster0.EXAMPLE.mongodb.net/?retryWrites=true&w=majority
-
-
Atlas requires TLS to connect to the service.
-
You must update the URL to add your truststore file location.
mongodb+srv://Admin:<password>@cluster0.EXAMPLE.mongodb.net/?retryWrites=true&w=majority&tlsCAFile=truststore\_location
-
Map the truststore file into the Community container.
volumes: - truststore\_location
-