6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 20:29:02 +00:00

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.
This commit is contained in:
Régis Behmo 2018-08-27 14:52:07 +02:00
parent 5c3b463bc2
commit d3bd288231

View File

@ -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