From fece269345c7de4041208f9a37dafba145d53174 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 17 Jun 2021 12:49:35 -0300 Subject: [PATCH] Workaround to use mongodb with docker on M1 --- e2e/docker/rc_test_env/docker-compose.override.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/docker/rc_test_env/docker-compose.override.yml b/e2e/docker/rc_test_env/docker-compose.override.yml index 94bffa4cf..63c174609 100644 --- a/e2e/docker/rc_test_env/docker-compose.override.yml +++ b/e2e/docker/rc_test_env/docker-compose.override.yml @@ -2,12 +2,13 @@ version: '2' services: mongo: - image: circleci/mongo:4.0 + # image: circleci/mongo:4.0 volumes: - ${DATAROOT}/data/db:/data/db - ${DATAROOT}/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro environment: - MONGO_INITDB_DATABASE=rocketchat + command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger mongo-init-replica: # No replicas when testing image: tianon/true