default.js
module.exports = {
port: 3000,
mongo: {
host: 'mongo:27017',
dbName: 'lodex',
},
auth: {
cookieSecret: 'cookie',
headerSecret: 'header',
expiresIn: 10 * 3600, // 10 hours
},
cache: {
max: 500,
maxAge: 60 * 60, // 1 hour
},
hostname: 'http://data.istex.fr/',
uploadDir: 'upload',
istexApiUrl: 'https://api.istex.fr',
jsHost: '',
logger: {
disabled: false,
},
};