Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- port: 3000,
- amazon: {
- /**
- * Storage Service credentials
- */
- storageService: {
- accessKeyId: 'AKIAILTJP3JPVKC5VQUQ',
- secretAccessKey: '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'
- },
- /**
- * S3 configuration.
- */
- s3: {
- Bucket: 'onix-ms-test',
- Expires: 900 // default expires
- }
- },
- passport: {
- LDAP: {
- //server: {
- // url: 'ldap://ldap.onix.local',
- // bindDn: 'cn=admin,dc=onix,dc=local',
- // bindCredentials: '1',
- // searchBase: 'dc=onix,dc=local',
- // searchFilter: '(uid={{username}})',
- // userDirectory: 'ou=users',
- // ldapEmployeeGroups: [
- // 'Administrators', 'Developers', 'Financial Manager', 'HR Managers', 'Project Managers', 'Sales Managers'
- // ],
- // tlsOptions: {
- // ca: [
- // //fs.readFileSync(path.resolve(__dirname, '../cert/onix-ldap.crt'))
- // ]
- // }
- //
- // //bindDn: 'cn=testadmin,ou=users,dc=onix,dc=local',
- // //searchAttributes: ['displayName', 'mail'],
- // //bindCredentials: 'testadmin',
- // //searchBase: 'ou=users,dc=onix,dc=local',
- //},
- server: {
- bindCredentials: 'wvXxCFFSinXm2bLDK9dt'
- }
- }
- },
- globals: {
- enableAdminSuperLogin: true,
- worklogImportGap: 3
- },
- mailer: {
- //replyTo: ['"Test" <test@test.com>'],
- //cc: ['"Test1" <test1@test.com>', '"Test2" <test2@test.com>'],
- //bcc: ['"Test" <test@test.com>'],
- subject: 'Outdated Time!',
- type: 'smtp',
- from: 'hydra.notifier@yandex.ru',
- provider: {
- port: 587,
- host: 'smtp.yandex.ru',
- secure: false,
- auth: {
- user: 'hydra.notifier@yandex.ru',
- pass: 'IeEbFot0WtsA'
- },
- connectionTimeout: 2000,
- greetingTimeout: 2000,
- socketTimeout: 2000
- }
- },
- mailTemplates: {
- rejectedProjectItemLog: {
- //replyTo: ['"Hydra" <hydra.notifier@yandex.ru>'],
- //cc: ['"Test1" <test1@test.com>', '"Test2" <test2@test.com>'],
- //bcc: ['"Test" <test@test.com>'],
- subject: 'Outdated Worklogs!',
- path: 'api/templates/reject.worklog.tmpl.ejs',
- from: ['"Hydra" <hydra.notifier@yandex.ru>'],
- type: 'smtp'
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement