Advertisement
Guest User

Untitled

a guest
Sep 7th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module.exports = {
  2.   port: 3000,
  3.   amazon: {
  4.     /**
  5.      *  Storage Service credentials
  6.      */
  7.     storageService: {
  8.       accessKeyId: 'AKIAILTJP3JPVKC5VQUQ',
  9.       secretAccessKey: 'UbA6HofmlgQctq9RTGD8vKC8+q5dQRWY/c8uvFgC'
  10.     },
  11.  
  12.     /**
  13.      *  S3 configuration.
  14.      */
  15.     s3: {
  16.       Bucket: 'onix-ms-test',
  17.       Expires: 900            // default expires
  18.     }
  19.   },
  20.   passport: {
  21.     LDAP: {
  22.       //server: {
  23.       //  url: 'ldap://ldap.onix.local',
  24.       //  bindDn: 'cn=admin,dc=onix,dc=local',
  25.       //  bindCredentials: '1',
  26.       //  searchBase: 'dc=onix,dc=local',
  27.       //  searchFilter: '(uid={{username}})',
  28.       //  userDirectory: 'ou=users',
  29.       //  ldapEmployeeGroups: [
  30.       //    'Administrators', 'Developers', 'Financial Manager', 'HR Managers', 'Project Managers', 'Sales Managers'
  31.       //  ],
  32.       //  tlsOptions: {
  33.       //    ca: [
  34.       //      //fs.readFileSync(path.resolve(__dirname, '../cert/onix-ldap.crt'))
  35.       //    ]
  36.       //  }
  37.       //
  38.       //  //bindDn: 'cn=testadmin,ou=users,dc=onix,dc=local',
  39.       //  //searchAttributes: ['displayName', 'mail'],
  40.       //  //bindCredentials: 'testadmin',
  41.       //  //searchBase: 'ou=users,dc=onix,dc=local',
  42.       //},
  43.  
  44.  
  45.       server: {
  46.         bindCredentials: 'wvXxCFFSinXm2bLDK9dt'
  47.       }
  48.     }
  49.   },
  50.   globals: {
  51.     enableAdminSuperLogin: true,
  52.     worklogImportGap: 3
  53.   },
  54.   mailer: {
  55.     //replyTo: ['"Test" <test@test.com>'],
  56.     //cc: ['"Test1" <test1@test.com>', '"Test2" <test2@test.com>'],
  57.     //bcc: ['"Test" <test@test.com>'],
  58.     subject: 'Outdated Time!',
  59.     type: 'smtp',
  60.     from: 'hydra.notifier@yandex.ru',
  61.     provider: {
  62.       port: 587,
  63.       host: 'smtp.yandex.ru',
  64.       secure: false,
  65.       auth: {
  66.         user: 'hydra.notifier@yandex.ru',
  67.         pass: 'IeEbFot0WtsA'
  68.       },
  69.       connectionTimeout: 2000,
  70.       greetingTimeout: 2000,
  71.       socketTimeout: 2000
  72.     }
  73.   },
  74.   mailTemplates: {
  75.     rejectedProjectItemLog: {
  76.       //replyTo: ['"Hydra" <hydra.notifier@yandex.ru>'],
  77.       //cc: ['"Test1" <test1@test.com>', '"Test2" <test2@test.com>'],
  78.       //bcc: ['"Test" <test@test.com>'],
  79.       subject: 'Outdated Worklogs!',
  80.       path: 'api/templates/reject.worklog.tmpl.ejs',
  81.       from: ['"Hydra" <hydra.notifier@yandex.ru>'],
  82.       type: 'smtp'
  83.     }
  84.   }
  85. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement