Skip to content

Commit ea19c8a

Browse files
authored
(DOCSP-45098) Updates localdev Docker compose example. (#760) (#761)
(cherry picked from commit 145cf79)
1 parent 1039d14 commit ea19c8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/atlas-cli-deploy-docker.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,10 @@ of Docker Compose.
289289

290290
.. code-block:: sh
291291
:linenos:
292-
292+
293293
services:
294294
mongodb:
295+
hostname: mongodb
295296
image: mongodb/mongodb-atlas-local
296297
environment:
297298
- MONGODB_INITDB_ROOT_USERNAME=user
@@ -300,8 +301,10 @@ of Docker Compose.
300301
- 27019:27017
301302
volumes:
302303
- data:/data/db
304+
- config:/data/configdb
303305
volumes:
304306
data:
307+
config:
305308

306309
.. step:: Run Docker Compose.
307310

0 commit comments

Comments
 (0)