Add config
This commit is contained in:
parent
9b2af6eb53
commit
4b2b08c699
|
@ -0,0 +1,25 @@
|
||||||
|
require('dotenv').config();
|
||||||
|
|
||||||
|
|
||||||
|
const telegram = {
|
||||||
|
token: process.env.TELEGRAM_TOKEN,
|
||||||
|
};
|
||||||
|
|
||||||
|
const umbrello = {
|
||||||
|
apiURL: process.env.UMBRELLO_API_URL,
|
||||||
|
};
|
||||||
|
|
||||||
|
const database = {
|
||||||
|
host: process.env.DB_HOST,
|
||||||
|
user: process.env.DB_USER,
|
||||||
|
password: process.env.DB_PASSWORD,
|
||||||
|
};
|
||||||
|
|
||||||
|
const config = {
|
||||||
|
telegram,
|
||||||
|
umbrello,
|
||||||
|
database,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
export default config;
|
Loading…
Reference in New Issue