config.js 639 B

12345678910111213141516171819202122232425
  1. module.exports = {
  2. inject(config) {
  3. Object.assign(this, config)
  4. }
  5. // auth: {
  6. // jwtSecret: '8af06d11-2c53-4f0b-86d7-dd24594da463',
  7. // jwtExpires: 7 * 24 * 60 * 60,
  8. // saltRounds: 10
  9. // },
  10. // server: {
  11. // port: process.env.NODE_PORT || 3002
  12. // },
  13. // sequelize: {
  14. // // See http://docs.sequelizejs.com/class/lib/sequelize.js~Sequelize.html#instance-constructor-constructor
  15. // dialect: 'sqlite',
  16. // database: 'project',
  17. // username: null,
  18. // password: null,
  19. // host: null,
  20. // port: null,
  21. // storage: 'project.db',
  22. // operatorsAliases: false,
  23. // logging: false
  24. // }
  25. }