Skip to content

Commit 0328899

Browse files
authored
feat(*): Add explicit mongo-config volume for /data/configdb (#17)
1 parent 938400c commit 0328899

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.mongo.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ services:
1414
target: "/data/db"
1515
volume:
1616
nocopy: true
17+
- type: "volume"
18+
source: mongo-config
19+
target: "/data/configdb"
20+
volume:
21+
nocopy: true
1722
- ".:/mnt/ddev_config"
1823
restart: "no"
1924
expose:
@@ -50,3 +55,4 @@ services:
5055

5156
volumes:
5257
mongo:
58+
mongo-config:

0 commit comments

Comments
 (0)