From d3bd2882317caa8077bf8255f475d510823c148c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 27 Aug 2018 14:52:07 +0200 Subject: [PATCH] Fix "invalid operator '$slice'" mongodb error $slice operator was introduced in version 3.2: https://docs.mongodb.com/manual/release-notes/3.2/ This addresses part of issue #54. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 44948a9..71480b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: restart: unless-stopped mongodb: - image: mongo:3.0.14 + image: mongo:3.2.16 # Use WiredTiger in all environments, just like at edx.org command: mongod --smallfiles --nojournal --storageEngine wiredTiger restart: unless-stopped