diff --git a/docker-compose.yml b/docker-compose.yml index fcf0aed22eb..b5814dca4cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -222,7 +222,8 @@ services: # We use WiredTiger in all environments. In development environments we use small files # to conserve disk space, and disable the journal for a minor performance gain. # See https://docs.mongodb.com/v3.0/reference/program/mongod/#options for complete details. - command: mongod --nojournal --storageEngine wiredTiger + # --nojournal is not available in recent mongo versions, it's always enabled. + command: mongod --storageEngine wiredTiger container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.mongo" hostname: mongo.devstack.edx image: mongo:${MONGO_VERSION:-4.4.18}