2024-02-09 15:04:00 +01:00

46 lines
1.0 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';
const cronTasks = require('./src/cron-tasks');
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
url: 'http://localhost:1337',
cron: {
enabled: true,
tasks: cronTasks,
},
app: {
keys: env.array('APP_KEYS', ['toBeModified1', 'toBeModified2']),
},
webhooks: {
// TODO: V5, set to false by default
// Receive populated relations in webhook and db lifecycle payloads
// This only populates relations in all content-manager endpoints
populateRelations: env.bool('WEBHOOKS_POPULATE_RELATIONS', true),
},
// http_proxy is the env var used by system to set proxy globally
globalProxy: env('http_proxy'),
http: {
serverOptions: {
requestTimeout: 1000 * 60 * 10, // set request timeout to 600000ms (10 minutes)
},
},
transfer: {
remote: {
// enabled: false,
},
},
logger: {
config: {
level: 'silly',
},
updates: {
// enabled: false,
},
startup: {
// enabled: false,
},
},
});