From 39adf7e4ac47114823540d13e1c97b6ab6dfa046 Mon Sep 17 00:00:00 2001 From: rustagir Date: Mon, 14 Apr 2025 10:30:30 -0400 Subject: [PATCH] DOCSP-48756: docker note --- source/connection/mongoclient.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/connection/mongoclient.txt b/source/connection/mongoclient.txt index 8d6f943a6..61ba9b685 100644 --- a/source/connection/mongoclient.txt +++ b/source/connection/mongoclient.txt @@ -255,6 +255,10 @@ class. Select the tab that corresponds to your preferred class. .build(); MongoClient mongoClient = MongoClients.create(settings); +.. note:: Replica Set in Docker + + .. sharedinclude:: dbx/docker-replica-set.rst + Frequently Asked Questions -------------------------- @@ -368,4 +372,4 @@ after any code that calls ``close()`` on it. best practices for managing the connection behavior. To learn more about accessing MongoDB from Spring Boot, see - `Spring Boot and MongoDB `__. \ No newline at end of file + `Spring Boot and MongoDB `__.