From 3a88c0bc06d21c36b13b7d4c06d79a1631ae9227 Mon Sep 17 00:00:00 2001 From: Christin Mikolai Date: Tue, 28 Jul 2020 01:30:51 +0200 Subject: [PATCH] adding a file back in --- config/database.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config/database.js diff --git a/config/database.js b/config/database.js new file mode 100644 index 0000000..db6f74b --- /dev/null +++ b/config/database.js @@ -0,0 +1,15 @@ +module.exports = ({ env }) => ({ + defaultConnection: 'default', + connections: { + default: { + connector: 'mongoose', + settings: { + client: 'mongo', + uri: env('MONGODB_URI'), + }, + options: { + ssl: true + } + }, + }, +});