web/config.js.example

23 lines
480 B
Text
Raw Normal View History

2021-11-15 11:30:44 +01:00
const env = process.env;
const config = {
2022-04-07 07:18:55 +02:00
url: env.URL,
2021-11-16 00:42:43 +01:00
host: env.HOST,
2022-04-07 07:18:55 +02:00
port: env.PORT,
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:28:46 +01:00
connectTimeout: env.DB_TIMEOUT,
2021-11-15 11:30:44 +01:00
},
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
},
2022-04-05 12:43:24 +02:00
telegram: env.TG_BOT_TOKEN,
2021-11-15 11:30:44 +01:00
};
2021-11-15 11:35:31 +01:00
module.exports = config;