2019-06-23 03:35:23 -07:00
|
|
|
module.exports = {
|
|
|
|
urls: {
|
2019-06-23 22:45:12 -07:00
|
|
|
// Default path of the rest-endpoint
|
2019-06-23 03:35:23 -07:00
|
|
|
endpointRest: 'rest',
|
2019-06-23 22:45:12 -07:00
|
|
|
// Default path of the webhook-endpoint
|
2019-06-23 03:35:23 -07:00
|
|
|
endpointWebhook: 'webhook',
|
2019-06-23 22:45:12 -07:00
|
|
|
// Default path of the webhook-endpoint for testing
|
2019-06-23 03:35:23 -07:00
|
|
|
endpointWebhookTest: 'webhook-test',
|
2019-06-23 22:45:12 -07:00
|
|
|
|
|
|
|
// How n8n can be reached (Editor & REST-API)
|
2019-06-23 03:35:23 -07:00
|
|
|
host: 'localhost',
|
|
|
|
port: 5678,
|
|
|
|
protocol: 'http',
|
|
|
|
},
|
|
|
|
database: {
|
|
|
|
type: 'sqlite', // Available types: sqlite, mongodb
|
|
|
|
|
|
|
|
// MongoDB specific settings
|
|
|
|
mongodbConfig: {
|
|
|
|
url: 'mongodb://user:password@localhost:27017/database',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
executions: {
|
2019-06-23 22:45:12 -07:00
|
|
|
// If the executions of workflows which got started via the editor
|
|
|
|
// should be saved. By default they will not be saved as this runs
|
|
|
|
// are normally only for testing and debugging. This setting can
|
|
|
|
// also be overwritten on a per workflow basis in the workflow settings
|
|
|
|
// in the editor.
|
2019-06-23 03:35:23 -07:00
|
|
|
saveManualRuns: false,
|
|
|
|
},
|
|
|
|
|
|
|
|
nodes: {
|
|
|
|
// Nodes not to load even if found
|
2019-06-23 11:44:41 -07:00
|
|
|
// exclude: ['n8n-nodes-base.executeCommand'],
|
2019-06-23 03:35:23 -07:00
|
|
|
errorTriggerType: 'n8n-nodes-base.errorTrigger',
|
|
|
|
},
|
|
|
|
|
2019-06-23 22:45:12 -07:00
|
|
|
// The timezone to use. Is important for nodes like "Cron" which start the
|
|
|
|
// workflow automatically at a specified time. This setting can also be
|
|
|
|
// overwritten on a per worfklow basis in the workflow settings in the
|
|
|
|
// editor.
|
2019-06-23 03:35:23 -07:00
|
|
|
timezone: 'America/New_York',
|
|
|
|
};
|