mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-14 02:16:19 +01:00
Add conf.js
This commit is contained in:
parent
dd062fafc1
commit
c15a6f3ae6
1 changed files with 12 additions and 0 deletions
12
conf.js
Normal file
12
conf.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
const env = process.env;
|
||||
|
||||
const config = {
|
||||
db: {
|
||||
host: env.DB_HOST,
|
||||
user: env.DB_USER,
|
||||
password: env.DB_PASSWORD,
|
||||
database: env.DB_NAME,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
Loading…
Reference in a new issue