Add db configuration

This commit is contained in:
Francesco Esposito 2019-08-22 17:42:37 +02:00
parent 379d0b5307
commit 9a97909e74
1 changed files with 8 additions and 0 deletions

View File

@ -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,
};