Disable JS scripting in mongodb (mapReduce and $where not used)

This commit is contained in:
Niko 2022-02-16 11:58:19 +01:00
parent 98a4449de4
commit bdb2b63fe9
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ version: '3'
services: services:
db: db:
command: --noscripting
image: mongo:latest image: mongo:latest
volumes: volumes:
- ./_dev/db:/data/db - ./_dev/db:/data/db