Skip to content

Commit 4ff960e

Browse files
authored
Fix line highlighting in part12b.md
1 parent 493628f commit 4ff960e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/12/en/part12b.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,10 @@ services:
499499
MONGO_INITDB_DATABASE: the_database
500500
volumes:
501501
- ./mongo/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js
502-
- mongo_data:/data/db # highlight-line
502+
- mongo_data:/data/db
503503

504-
volumes:
505-
mongo_data:
504+
volumes: # highlight-line
505+
mongo_data: # highlight-line
506506
```
507507
508508
Now the volume is created but managed by Docker. After starting the application (_docker compose -f docker-compose.dev.yml up_) you can list the volumes with _docker volume ls_, inspect one of them with _docker volume inspect_ and even delete them with _docker volume rm_:

0 commit comments

Comments
 (0)