feat: Use authorization on the MongoDB server

This commit is contained in:
Alexander Polynomdivision
2018-10-03 19:09:49 +02:00
parent 5b399bf0d2
commit 4a3aa60a4d
4 changed files with 32 additions and 6 deletions

10
server/mongod.conf Normal file
View File

@@ -0,0 +1,10 @@
storage:
engine: wiredTiger
dbPath: /etc/mongo/db/
security:
authorization: enabled
javascriptEnabled: false
net:
port: 27017