const appRoot = require ( 'app-root-path' ) ; export default { secret : process . env . SECRET || 'notSoSecret234oi23o423ooqnafsnaaslfj' , baseurl : process . env . BASEURL || 'http://localhost:4200' , database : `mongodb://${ process . env . DB_HOST || 'localhost' }:${ process . env . DB_PORT || '27017' }/${ process . env . DB_NAME || 'geli' }` , databaseOptions : { useNewUrlParser : true , useCreateIndex : true , useFindAndModify : false } , port : process . env . PORT || 3030 , mailProvider : process . env . MAILPROVIDER || 'DebugMail' , mailSMTPServer : process . env . MAILSMTPSERVER || undefined , mailSMTPPort : process . env . MAILSMTPPORT || 25 , mailAuth : { user : process . env . MAILUSER || undefined , pass : process . env . MAILPASS || '' } , mailSender : process . env . MAILSENDER || 'no-reply@geli.edu' , teacherMailRegex : process . env . TEACHER_MAIL_REGEX || '^.+@.+\..+$' , nonProductionWarning : process . env . NONPRODUCTIONWARNING || undefined , sentryDsn : process . env . SENTRY_DSN , sentryDsnPublic : process . env . SENTRY_DSN_PUBLIC , timeToLiveCacheValue : 3600 , tmpFileCacheFolder : appRoot + '/tmp/' , maxFileSize : 51200 , maxZipSize : 204800 , uploadFolder : process . env . UPLOADFOLDER || ( appRoot + '/uploads/' ) , maxProfileImageWidth : 512 , maxProfileImageHeight : 512 , timeTilNextActivationResendMin : 10 , } ;