From bdb2b63fe9d2b72d97f84334a7c3bd2f9c145d94 Mon Sep 17 00:00:00 2001 From: Niko Date: Wed, 16 Feb 2022 11:58:19 +0100 Subject: [PATCH] Disable JS scripting in mongodb (mapReduce and $where not used) --- docker-compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6cfdacf..57c81da 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,6 +2,7 @@ version: '3' services: db: + command: --noscripting image: mongo:latest volumes: - ./_dev/db:/data/db