export const configuration = () => { return { // db config 'db.host': process.env.DB_HOST, 'db.port': process.env.DB_PORT, 'db.user_name': process.env.DB_USER, 'db.password': process.env.DB_PASSWORD, 'db.name': process.env.DB_NAME, 'db.slow_limit': Number(process.env.DB_SLOW_LIMIT) || 500, // ms 'db.ssl_enabled': process.env.DB_SSL_ENABLED, }; };