diff --git a/config/config.ts b/config/config.ts deleted file mode 100644 index 3f6aec9a728b745d0cfc28b59c8dcc1a3e124743..0000000000000000000000000000000000000000 --- a/config/config.ts +++ /dev/null @@ -1,80 +0,0 @@ -export = { - development: { - app: { - name: 'User Account Management', - port: process.env.PORT || 9989, - host: 'http://localhost:9989', - sessionSecret: 'thisisasecret' - }, - passport: { - strategy: 'saml', - saml: { - path: process.env.SAML_PATH || '/saml/SSO', - entryPoint: 'https://transfer.hft-stuttgart.de/idp2/saml2/idp/SSOService.php', - issuer: 'sp-account.m4lab.hft-stuttgart.de', - logoutUrl: 'https://transfer.hft-stuttgart.de/idp/saml2/idp2/SingleLogoutService.php' - } - }, - database: { - host: 'localhost', // DB host - user: 'DBManager', // DB username - password: 'Stuttgart2019', // DB password - port: 3306, // MySQL port - dbUser: 'userdb', // User DB - host_project: 'localhost', // DB host project db - dbProject: 'projectdb' // Project DB - }, - mailer: { - host: 'mailhost', // hostname - secureConnection: false, // TLS requires secureConnection to be false - port: 587, // port for secure SMTP - TLS: true, - authUser: 'mailuser', - authPass: 'mailpass', - tlsCiphers: 'SSLv3', - from: 'mailfrom' - }, - gitlab: { - token_readWriteProjects: 'PfP27Tj4dNo9zgQ_c6XP' - } - }, - testing: { - app: { - name: 'User Account Management', - port: process.env.PORT || 9989, - host: 'https://m4lab.hft-stuttgart.de/account', - sessionSecret: 'thisisasecret' - }, - passport: { - strategy: 'saml', - saml: { - path: process.env.SAML_PATH || '/saml/SSO', - entryPoint: process.env.SAML_ENTRY_POINT || 'saml entry point', - issuer: 'SAML issuer', // testing metadata - logoutUrl: 'SAML logout URL' - } - }, - database: { - host: 'dbhost', // DB host - user: 'dbuser', // DB username - password: 'dbpass', // DB password - port: 3306, // MySQL port - dbUser: 'userdb', // User DB - host_project: 'dbhost', // DB host project db - dbProject: 'projectdb' // Project DB - }, - mailer: { - host: 'mailhost', // hostname - secureConnection: false, // TLS requires secureConnection to be false - port: 587, // port for secure SMTP - TLS: true, - authUser: 'mailuser', - authPass: 'mailpass', - tlsCiphers: 'SSLv3', - from: 'mailfrom' - }, - gitlab: { - token_readWriteProjects: 'token-goes-here' - } - } -}