· 8 years ago · Dec 14, 2017, 10:10 AM
1const path = require('path');
2
3module.exports = {
4 database: {
5 username: 'root',
6 password: 'root',
7 database: 'ntix',
8 host: 'localhost',
9 port: '5432',
10 dialect: 'postgres',
11 migrationsPath: path.resolve('src', 'server', 'migrations')
12 },
13 log: {
14 level: 'info'
15 },
16 auth: {
17 cookie_secret: 'secret',
18 password_secret: 'secret',
19 JWT: {
20 secret: 'changeme',
21 tokenExpireTime: 24, // hours,
22 issuer: 'ntix',
23 audience: 'ntix-users'
24 },
25 google: {
26 clientId: '739798993058-n9of3q8hf5mv0409br3lflplidb3avfb.apps.googleusercontent.com',
27 clientSecret: '6IWHXIQNLHxb4UpiSDlRMh2z',
28 redirectUrl: 'http://127.0.0.1:3000',
29 }
30 },
31 minio: {
32 endPoint: 'minio',
33 port: 9000,
34 secure: false,
35 accessKey: 'CHANGE_ME',
36 secretKey: 'CHANGE_ME',
37 },
38 port: 4000
39};