web/config.js.example

19 lines
370 B
Text
Raw Normal View History

2021-11-15 11:30:44 +01:00
const env = process.env;
const config = {
2021-11-16 00:42:43 +01:00
host: env.HOST,
2021-11-15 11:30:44 +01:00
db: {
host: env.DB_HOST,
user: env.DB_USER,
password: env.DB_PASSWORD,
database: env.DB_NAME,
},
2021-11-16 07:18:02 +01:00
mail: {
host: env.MAIL_HOST,
port: env.MAIL_PORT,
user: env.MAIL_USER,
password: env.MAIL_PASSWORD
},
2021-11-15 11:30:44 +01:00
};
2021-11-15 11:35:31 +01:00
module.exports = config;