config.js 1.15 KB
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
2
3
4
5
6
7
8
9
10
module.exports = {
  development: {
    app: {
      name: 'User Account Management',
      port: process.env.PORT || 9989
    },
    passport: {
      strategy: 'saml',
      saml: {
        path: process.env.SAML_PATH || '/saml/SSO',
Rosanny Sihombing's avatar
Rosanny Sihombing committed
11
        entryPoint: process.env.SAML_ENTRY_POINT || 'https://m4lab.hft-stuttgart.de/idp/saml2/idp/SSOService.php',
Rosanny Sihombing's avatar
Rosanny Sihombing committed
12
        issuer: 'sp-account.m4lab.hft-stuttgart.de',
Rosanny Sihombing's avatar
Rosanny Sihombing committed
13
        logoutUrl: 'https://m4lab.hft-stuttgart.de/idp/saml2/idp/SingleLogoutService.php'
Rosanny Sihombing's avatar
Rosanny Sihombing committed
14
15
16
      }
    },
    database: {
Rosanny Sihombing's avatar
Rosanny Sihombing committed
17
      host: 'localhost',      	  // DB host
Rosanny Sihombing's avatar
Rosanny Sihombing committed
18
19
20
      user: 'DBManager',          // DB username
      password: 'Stuttgart2019',  // DB password
      port: 3306,                 // MySQL port
Rosanny Sihombing's avatar
Rosanny Sihombing committed
21
      dbUser: 'userdb',           // User DB
Rosanny Sihombing's avatar
Rosanny Sihombing committed
22
      dbProject: 'projectDB'     // Project DB
Rosanny Sihombing's avatar
Rosanny Sihombing committed
23
24
25
26
27
28
29
30
31
32
33
34
    },
    mailer: {
      host: 'mail.hft-stuttgart.de',  // hostname
      secureConnection: false,        // TLS requires secureConnection to be false
      port: 587,                      // port for secure SMTP
      authUser: 'ad\\support-transfer',
      authPass: '6laumri2',
      tlsCiphers: 'SSLv3',
      from: 'support-transfer@hft-stuttgart.de',
    }
  }
}