Skip to content

Commit 39adf7e

Browse files
committed
DOCSP-48756: docker note
1 parent 1dc8483 commit 39adf7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/connection/mongoclient.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ class. Select the tab that corresponds to your preferred class.
255255
.build();
256256
MongoClient mongoClient = MongoClients.create(settings);
257257

258+
.. note:: Replica Set in Docker
259+
260+
.. sharedinclude:: dbx/docker-replica-set.rst
261+
258262
Frequently Asked Questions
259263
--------------------------
260264

@@ -368,4 +372,4 @@ after any code that calls ``close()`` on it.
368372
best practices for managing the connection behavior.
369373

370374
To learn more about accessing MongoDB from Spring Boot, see
371-
`Spring Boot and MongoDB <https://www.mongodb.com/compatibility/spring-boot>`__.
375+
`Spring Boot and MongoDB <https://www.mongodb.com/compatibility/spring-boot>`__.

0 commit comments

Comments
 (0)