From 9a97909e74cbea9630627bc462efd664a5a0d9b2 Mon Sep 17 00:00:00 2001 From: Francesco Esposito <33671357+frsposito@users.noreply.github.com> Date: Thu, 22 Aug 2019 17:42:37 +0200 Subject: [PATCH] Add db configuration --- src/config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/config.js b/src/config.js index 0dfb2bf..b02a09f 100644 --- a/src/config.js +++ b/src/config.js @@ -9,6 +9,13 @@ const owm = { }; +const database = { + host: process.env.DB_HOST, + user: process.env.DB_USER, + password: process.env.DB_PASSWORD, +}; + + const telegram = { token: process.env.TELEGRAM_TOKEN, }; @@ -17,6 +24,7 @@ const telegram = { const config = { owm, telegram, + database, };