Add conf.js

This commit is contained in:
Moe Poi ~ 2021-11-15 10:30:44 +00:00
parent dd062fafc1
commit c15a6f3ae6

12
conf.js Normal file
View file

@ -0,0 +1,12 @@
const env = process.env;
const config = {
db: {
host: env.DB_HOST,
user: env.DB_USER,
password: env.DB_PASSWORD,
database: env.DB_NAME,
},
};
module.exports = config;