web/config.js.example
2021-11-16 06:42:43 +07:00

13 lines
No EOL
228 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,
},
};
module.exports = config;