web/config.js.example
2021-11-16 13:18:02 +07:00

19 lines
No EOL
370 B
Text

const env = process.env;
const config = {
host: env.HOST,
db: {
host: env.DB_HOST,
user: env.DB_USER,
password: env.DB_PASSWORD,
database: env.DB_NAME,
},
mail: {
host: env.MAIL_HOST,
port: env.MAIL_PORT,
user: env.MAIL_USER,
password: env.MAIL_PASSWORD
},
};
module.exports = config;