mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 22:36:37 +01:00
20 lines
No EOL
410 B
Text
20 lines
No EOL
410 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,
|
|
connectTimeout: env.DB_TIMEOUT,
|
|
},
|
|
mail: {
|
|
host: env.MAIL_HOST,
|
|
port: env.MAIL_PORT,
|
|
user: env.MAIL_USER,
|
|
password: env.MAIL_PASSWORD
|
|
},
|
|
};
|
|
|
|
module.exports = config; |