From e48b040f6ccd71ad00df8744e44b0394f45fc453 Mon Sep 17 00:00:00 2001 From: Daniel Valenzuela Date: Tue, 30 Jan 2024 00:50:40 -0300 Subject: [PATCH] fix: mongo docker-compose script --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}